Difference between revisions of "Template:Portal anniversary"
Jump to navigation
Jump to search
test>Skomorokh m (aha...) |
test>Jonesey95 (Fix Linter errors) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{image|}}}|[[{{{image}}}|right|100x100px|{{#if:{{{alt|}}}|{{{alt}}}}}]]}}</includeonly> | <includeonly>{{#if:{{{image|}}}|[[{{{image}}}|right|100x100px|{{#if:{{{alt|}}}|{{{alt}}}}}]]}}</includeonly> | ||
| − | *{{{year1|Insert the year of the event here, without a wikilink}}} – {{{hook1|The description of the hook goes here, with ''(pictured)'' after the item depicted in the image}}}{{#if:{{{year2|}}}|*{{{year2}}} – {{{hook2}}}}}{{#if:{{{year3|}}}|*{{{year3}}} – {{{hook3}}}}}{{#if:{{{year4|}}}|*{{{year4}}} – {{{hook4}}}}}{{#if:{{{year5|}}}|*{{{year5}}} – {{{hook5}}}}}{{#if:{{{year6|}}}|*{{{year6}}} – {{{hook6}}}}}{{#if:{{{year7|}}}|*{{{year7}}} – {{{hook7}}}}}{{#if:{{{year8|}}}|*{{{year8}}} – {{{hook8}}}}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here. --></noinclude> | + | *{{{year1|Insert the year of the event here, without a wikilink}}} – {{{hook1|The description of the hook goes here, with ''(pictured)'' after the item depicted in the image}}}{{#if:{{{year2|}}}|*{{{year2}}} – {{{hook2}}}}}{{#if:{{{year3|}}}|*{{{year3}}} – {{{hook3}}}}}{{#if:{{{year4|}}}|*{{{year4}}} – {{{hook4}}}}}{{#if:{{{year5|}}}|*{{{year5}}} – {{{hook5}}}}}{{#if:{{{year6|}}}|*{{{year6}}} – {{{hook6}}}}}{{#if:{{{year7|}}}|*{{{year7}}} – {{{hook7}}}}}{{#if:{{{year8|}}}|*{{{year8}}} – {{{hook8}}}}}<noinclude> |
| + | {{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here. --></noinclude> | ||
Revision as of 18:22, 27 March 2019
- Insert the year of the event here, without a wikilink – The description of the hook goes here, with (pictured) after the item depicted in the image
This template is used to standardise Portal anniversary entries for individual dates.
Usage
{{Portal anniversary
|image =
|alt =
|year1 =
|hook1 =
|year2 =
|hook2 =
|year3 =
|hook3 =
|year4 =
|hook4 =
|year5 =
|hook5 =
|year6 =
|hook6 =
|year7 =
|hook7 =
|year8 =
|hook8 =
}}
To use this template, copy the text above to the top of an anniversary date subpage (e.g. Portal:Anarchism/Anniversaries/January/January 1). Note that parameter names are lowercase. All parameters except for year1 and hook1 are optional, and if left blank will not appear in the entry.
| The above documentation is transcluded from Template:Portal anniversary/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |