Difference between revisions of "Template:Guide top"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
m
Line 8: Line 8:
 
{{#if: {{{pages|}}}|* '''Pages:''' {{{pages}}} }}
 
{{#if: {{{pages|}}}|* '''Pages:''' {{{pages}}} }}
 
{{#if: {{{related|}}}|* '''Related Article(s):''' {{{related}}} }}
 
{{#if: {{{related|}}}|* '''Related Article(s):''' {{{related}}} }}
 +
{{#if: {{{outdated|}}}|''Please note that strategy guides from v{{{patch}}} have vastly different [[skill]] and [[item]] stats, and might not be applicable to online play with the latest version.''
 
{{#if: {{{catexclude|}}}||[[Category:Strategy guides ({{{game}}})]]}}
 
{{#if: {{{catexclude|}}}||[[Category:Strategy guides ({{{game}}})]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 36: Line 37:
 
  <nowiki>|pages= '''One''', Two, Three</nowiki>                If more than one page, link up the other pages.
 
  <nowiki>|pages= '''One''', Two, Three</nowiki>                If more than one page, link up the other pages.
 
  <nowiki>|related= [[Javazon_v1.09,_by_Flux,_Part_I]]</nowiki>  Any related articles to this one? Can be used to link.
 
  <nowiki>|related= [[Javazon_v1.09,_by_Flux,_Part_I]]</nowiki>  Any related articles to this one? Can be used to link.
 +
<nowiki>|outdated= Yes</nowiki>                                Either "Yes", or REMOVE. Do not write "no"!
 
  <nowiki>|catexclude= Yes</nowiki>                              Use this to remove ALL categorisation.
 
  <nowiki>|catexclude= Yes</nowiki>                              Use this to remove ALL categorisation.
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
Line 62: Line 64:
 
|pages= '''One''', Two, Three
 
|pages= '''One''', Two, Three
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 +
|outdated= Yes
 
|catexclude= Yes
 
|catexclude= Yes
 
}}
 
}}

Revision as of 14:01, 8 December 2009

This Template creates a Strategy Guide Info top information header that also correctly categorises all data in a guide. Any variable that is not used in the top will also be hidden in the info header, and it will not produce any categories.


The template will always put any the article using it in the [[Category:Strategy guides ({{{game}}})]] category, unless you use the "catexclude=" variable.


IMPORTANT: Comment out or delete any variables you are not going to use!

{{Guide top
|game= Diablo II                              Game variable - REQUIRED
|patch= 1.09                                  Only use if patch-specific. Only numbers, not "version"/"patch".
|pve= Yes                                     Either "Yes", or REMOVE. Do not write "no"!
|pvp= Yes                                     Either "Yes", or REMOVE. Do not write "no"!
|class= Amazon                                Add a class here (spelling crucial).
|class2= Assassin                             Add a class here (spelling crucial).
|class3= Barbarian                            Add a class here (spelling crucial).
|class4= Druid                                Add a class here (spelling crucial).
|class5= Necromancer                          Add a class here (spelling crucial).
|class6= Paladin                              Add a class here (spelling crucial).
|class7= Sorceress                            Add a class here (spelling crucial).
|spec= Lightning Fury Javazon                 Not compulsory; additional info. Can be used to link.
|author= Flux                                 Not compulsory, but important.
|co-author= [[Leord]]                         Not compulsory, but important. Can be used to link.
|pages= '''One''', Two, Three                 If more than one page, link up the other pages.
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]  Any related articles to this one? Can be used to link.
|outdated= Yes                                Either "Yes", or REMOVE. Do not write "no"!
|catexclude= Yes                              Use this to remove ALL categorisation.
}}


Below here is an example of how it can look, when using all variables:



Diablo II Strategy Guide Info:
[edit]