Difference between revisions of "Template:Award"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
---- | ---- | ||
{| class="wikitable" | {| class="wikitable" | ||
+ | <!-- | ||
{{seq | year={{{year|}}} | before={{{before|}}} | after={{{after|}}} | parent={{{parent|}}} | type=Award}} | {{seq | year={{{year|}}} | before={{{before|}}} | after={{{after|}}} | parent={{{parent|}}} | type=Award}} | ||
− | + | --> | |
{{#ifeq:{{{year|}}}||{{!}}'''[[{{{parent|Award}}}]]'''| | {{#ifeq:{{{year|}}}||{{!}}'''[[{{{parent|Award}}}]]'''| | ||
{{#ifeq:{{{before}}}|none||{{!}}[[{{{before|{{#expr:{{{year}}}-1}}}}}{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]*/|}}}}}|{{{before|{{#expr:{{{year}}}-1}}}}}]]}} | {{#ifeq:{{{before}}}|none||{{!}}[[{{{before|{{#expr:{{{year}}}-1}}}}}{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]*/|}}}}}|{{{before|{{#expr:{{{year}}}-1}}}}}]]}} | ||
Line 15: | Line 16: | ||
{{#ifeq:{{{after}}}|none||{{!}}[[{{{after|{{#expr:{{{year}}}+1}}}}}{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]*/|}}}}}|{{{after|{{#expr:{{{year}}}+1}}}}}]]}} | {{#ifeq:{{{after}}}|none||{{!}}[[{{{after|{{#expr:{{{year}}}+1}}}}}{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]*/|}}}}}|{{{after|{{#expr:{{{year}}}+1}}}}}]]}} | ||
}} | }} | ||
− | |||
{{Toolbar | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}}}} | {{Toolbar | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}}}} | ||
|} | |} |
Revision as of 07:59, 21 December 2019
Usage:
{{Award | parent=Hugos | year=1971 | before=1970 | after=1972 | year=1954 | start=1952 | end=1956 | website=https://www.com | website1=https://www1.com | locale=Utopia}}
To start a sequence set before=none, to finish it, set after=none
Award | [{{{website1}}} Website] |
This is an award page. If you know something about it, such as who awarded it, who the winners were, what the criteria were, and when it was awarded, please add it! |