Difference between revisions of "Template:Guide top"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
Line 5: | Line 5: | ||
{{#if: {{{class|}}}|* '''Class:''' [[{{{class}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class2|}}}|, [[{{{class2}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class3|}}}|, [[{{{class3}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class4|}}}|, [[{{{class4}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class5|}}}|, [[{{{class5}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class6|}}}|, [[{{{class6}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class7|}}}|, [[{{{class7}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }} | {{#if: {{{class|}}}|* '''Class:''' [[{{{class}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class2|}}}|, [[{{{class2}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class3|}}}|, [[{{{class3}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class4|}}}|, [[{{{class4}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class5|}}}|, [[{{{class5}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class6|}}}|, [[{{{class6}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }}{{#if: {{{class7|}}}|, [[{{{class7}}}]] {{#if: {{{catexclude|}}}||[[Category:{{{class}}} strategy guides ({{{game}}})]] }} }} | ||
{{#if: {{{spec|}}}|* '''Specialisation(s):''' {{{spec}}} }} | {{#if: {{{spec|}}}|* '''Specialisation(s):''' {{{spec}}} }} | ||
− | {{#if: {{{author|}}}|* '''Author:''' {{{author}}}| * '''Author:''' ''Unknown''}} | + | {{#if: {{{author|}}}|* '''Author:''' [[:Category:Strategy guides by {{{author}}}]]{{#if: {{{co-author|}}}|, {{{co-author}}} }}|* '''Author:''' ''Unknown''}} |
{{#if: {{{pages|}}}|* '''Pages:''' {{{pages}}} }} | {{#if: {{{pages|}}}|* '''Pages:''' {{{pages}}} }} | ||
{{#if: {{{related|}}}|* '''Related Article(s):''' {{{related}}} }} | {{#if: {{{related|}}}|* '''Related Article(s):''' {{{related}}} }} | ||
Line 32: | Line 32: | ||
<nowiki>|class7= Sorceress</nowiki> Add a class here (spelling crucial). | <nowiki>|class7= Sorceress</nowiki> Add a class here (spelling crucial). | ||
<nowiki>|spec= Lightning Fury Javazon</nowiki> Not compulsory; additional info. Can be used to link. | <nowiki>|spec= Lightning Fury Javazon</nowiki> Not compulsory; additional info. Can be used to link. | ||
− | <nowiki>|author= [[ | + | <nowiki>|author= Flux</nowiki> Not compulsory, but important. |
+ | <nowiki>|co-author= [[Leord]]</nowiki> Not compulsory, but important. Can be used to link. | ||
<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. | ||
Line 57: | Line 58: | ||
|class7= Sorceress | |class7= Sorceress | ||
|spec= Lightning Fury Javazon | |spec= Lightning Fury Javazon | ||
− | |author= | + | |author= Flux |
+ | |co-author= Leord | ||
|pages= '''One''', Two, Three | |pages= '''One''', Two, Three | ||
|related= [[Javazon_v1.09,_by_Flux,_Part_I]] | |related= [[Javazon_v1.09,_by_Flux,_Part_I]] |
Revision as of 13:09, 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. |catexclude= Yes Use this to remove ALL categorisation. }}
Below here is an example of how it can look, when using all variables:
[edit]