Template:FicCitation: Difference between revisions
From Transcendence AU Wiki
imported>StarlightSystem (Created template) |
imported>StarlightSystem (Parameters should be numbered) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{{1}}}. "{{{2}}}" ({{{3}}}). [{{{4}}}] <{{{5}}}></includeonly><noinclude> | <includeonly>{{MaybeModUsername|{{{1}}}}}. "{{{2}}}" ({{{3}}}). [{{{4}}}] <{{{5}}}></includeonly><noinclude> | ||
1 = username | 1 = username<br/> | ||
2 = title of work | 2 = title of work<br/> | ||
3 = year published, not updated | 3 = year published, not updated<br/> | ||
4 = name of website hosted on | 4 = name of website hosted on<br/> | ||
5 = hyperlink | 5 = hyperlink | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Username", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Title of Work", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "Year published (not updated)", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"4": { | |||
"label": "Name of website hosted on", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"5": { | |||
"label": "Hyperlink", | |||
"type": "url", | |||
"required": true | |||
} | |||
}, | |||
"description": "Renders to a citation of a fanfic. Use AO3Citation instead if the fic is hosted on AO3.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
] | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 18:33, 30 July 2023
1 = username
2 = title of work
3 = year published, not updated
4 = name of website hosted on
5 = hyperlink
Renders to a citation of a fanfic. Use AO3Citation instead if the fic is hosted on AO3.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | no description | String | required |
Title of Work | 2 | no description | String | required |
Year published (not updated) | 3 | no description | Number | required |
Name of website hosted on | 4 | no description | String | required |
Hyperlink | 5 | no description | URL | required |