Template:FicCitation: Difference between revisions
From Transcendence AU Wiki
imported>StarlightSystem (Added TemplateData for FicCitation) |
imported>StarlightSystem (Parameters should be numbered) |
||
Line 8: | Line 8: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Username", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"Title of Work" | "2": { | ||
"label": "Title of Work", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"Year published (not updated)" | "3": { | ||
"label": "Year published (not updated)", | |||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
}, | }, | ||
"Name of website hosted on" | "4": { | ||
"label": "Name of website hosted on", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "5": { | ||
"label": "Hyperlink", | |||
"type": "url", | "type": "url", | ||
"required": true | "required": true | ||
Line 31: | Line 36: | ||
"description": "Renders to a citation of a fanfic. Use AO3Citation instead if the fic is hosted on AO3.", | "description": "Renders to a citation of a fanfic. Use AO3Citation instead if the fic is hosted on AO3.", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
" | "2", | ||
" | "3", | ||
" | "4", | ||
" | "5" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </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 |