Difference between revisions of "Template:Guide top"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
m
Line 39: Line 39:
  
  
 +
Below here is an example of how it can look, when using all variables:
 
{{clear-both}}
 
{{clear-both}}
  
  
  
 
+
{{
{{Guide top
 
 
|game= Diablo II
 
|game= Diablo II
 
|patch= 1.09
 
|patch= 1.09
 
|pve= Yes
 
|pve= Yes
 
|pvp= Yes
 
|pvp= Yes
<!--|pvp= Yes-->
 
 
|class= Amazon
 
|class= Amazon
|class2= Barbarian
+
|class2= Assassin
|class3= Paladin
+
|class3= Barbarian
<!--|class4= -->
+
|class4= Druid
<!--|class5= -->
+
|class5= Necromancer
<!--|class6= -->
+
|class6= Paladin
<!--|class7= -->
+
|class7= Sorceress
 
|spec= Lightning Fury Javazon
 
|spec= Lightning Fury Javazon
 
|author= [[Flux]]
 
|author= [[Flux]]
Line 62: Line 61:
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 
|catexclude= Yes
 
|catexclude= Yes
}}
+
{{
 
 
 
 
 
 
 
 
 
 
  
  
 
[[category:Templates]]</noinclude>
 
[[category:Templates]]</noinclude>

Revision as of 11:02, 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!

{{
|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. 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.
|catexclude= Yes                              Use this to remove ALL categorisation.
{{


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



{{ |game= Diablo II |patch= 1.09 |pve= Yes |pvp= Yes |class= Amazon |class2= Assassin |class3= Barbarian |class4= Druid |class5= Necromancer |class6= Paladin |class7= Sorceress |spec= Lightning Fury Javazon |author= Flux |pages= One, Two, Three |related= Javazon_v1.09,_by_Flux,_Part_I |catexclude= Yes {{