Difference between revisions of "Template:Guide top"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>[[Category:Strategy guides ({{{game}}})]]
+
<includeonly>
 
<span style="font-weight:bold; font-size:115%; color:white;"><u>{{{game}}} Strategy Guide Info:</u></span><div style="float:right;">{{editlink|Template:Guide_top|edit|diablo2|a|a}}</div><br>
 
<span style="font-weight:bold; font-size:115%; color:white;"><u>{{{game}}} Strategy Guide Info:</u></span><div style="float:right;">{{editlink|Template:Guide_top|edit|diablo2|a|a}}</div><br>
 
{{#if: {{{patch|}}}|* '''Patch:''' v{{{patch}}} [[Category:Patch {{{patch}}} strategy guides ({{{game}}})]]}}
 
{{#if: {{{patch|}}}|* '''Patch:''' v{{{patch}}} [[Category:Patch {{{patch}}} strategy guides ({{{game}}})]]}}
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: {{{catexclude|}}}|[[Category:Strategy guides ({{{game}}})]]}}
 +
</includeonly><noinclude>
 +
This [[Help:Template|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 <nowiki>[[Category:Strategy guides ({{{game}}})]]</nowiki> category, unless you use the "catexclude=" variable.
 +
  
</includeonly><noinclude>
+
<nowiki>{{</nowiki>
 +
<nowiki>|</nowiki>
 +
<nowiki>{{</nowiki>
  
  
Line 15: Line 23:
  
 
Notes:
 
Notes:
* Perhaps put PvE/PvP to one headline?
 
 
* Making a user guide for this template :P
 
* Making a user guide for this template :P
 +
 +
 +
  
  
Line 36: Line 46:
 
|pages= '''One''', Two, Three
 
|pages= '''One''', Two, Three
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 
|related= [[Javazon_v1.09,_by_Flux,_Part_I]]
 +
|catexclude= Yes
 
}}
 
}}
  

Revision as of 10:31, 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.


{{
|
{{



Notes:

  • Making a user guide for this template :P




Diablo II Strategy Guide Info:
[edit]