Difference between revisions of "Template:Award"

From Fancyclopedia 3
Jump to navigation Jump to search
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
parent Q{{#rreplace:{{PAGENAME}}|[0-9]*|}}Q
 
 
<noinclude>
 
<noinclude>
 
'''Usage:'''
 
'''Usage:'''
  
<nowiki>{{Award | parent=Hugos | </nowiki>{{ToolbarArgs}}<nowiki>}}</nowiki>
+
<nowiki>{{Award | parent=Hugos | year=1971 | before=1970 | after=1972 | </nowiki>{{ToolbarArgs}}<nowiki>}}</nowiki>
</noinclude>
+
 
----
+
To start a sequence set before=none, to finish it, set after=none
 +
</noinclude>----
 
{| class="wikitable"
 
{| class="wikitable"
{{#ifeq:{{{parent|}}}||{{!}}'''[[Award]]'''|
+
{{#ifeq:{{{year|}}}||{{!}}'''[[{{{parent|Award}}}]]'''|
{{#ifeq:{{{year|}}}|||{{!}}[[{{{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}}}}}]]}}
{{!}}[[{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]* /|}}}}}]]
+
{{!}}[[{{{parent|{{#rreplace:{{PAGENAME}}|/[0-9]*/|}}}}}]]
{{#ifeq:{{{year|}}}|||{{!}}[[{{{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|}}}}}
 
|}
 
{| class="wikitableinvolved"
 
|Also involved: {{#dpl:
 
| debug=1
 
| namespace=
 
| notlinksfrom={{PAGENAME}}
 
| linksto={{PAGENAME}}
 
| reset=links
 
| notcategory=details
 
| mode=inline
 
| ordermethod=title
 
| redirects=exclude
 
| suppresserrors=false
 
 
}}
 
}}
 +
{{Toolbar | website={{{website|}}} | website1={{{website1|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}} | capture={{{capture|}}} | capture1={{{capture1|}}} | locale={{{locale|}}}}}
 
|}
 
|}
 
{{stub|text=
 
{{stub|text=
This is an [[awards|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!}}
+
This is an [[awards|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! See [[Standards#Awards|Standards for Awards]].}}
 +
 
 +
[[Category:Award]]
 +
{{DerivedCategories | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}} | noend={{{end|yes}}} | locale={{{locale|}}}}}

Revision as of 07:18, 3 March 2021

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
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! See Standards for Awards.