Template:Chan: Difference between revisions
Created page with "<includeonly><div style="display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0.3em;">[[{{#show: {{{1}}} |?Chan Image#-= }}|125px|link={{{1}}}]] [[{{{1}}}]]</div></includeonly><noinclude> == Example == E.g: <pre><nowiki>{{Chan|FAITOW-chan}}</nowiki></pre> {{Chan|FAITOW-chan}} <pre><nowiki>{{Chan|Anne French Fry}}</nowiki></pre> {{Chan|Anne French Fry}} == Template Data == <templatedata> { "params": { "1": { "label": "Name",..." |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{variant|}}}|{{Chan/Impl|{{{1}}}#{{{variant}}}}}|{{Chan/Impl|{{{1}}}}}}}</includeonly><noinclude> | ||
}}| | |||
== Example == | == Example == | ||
E.g: | E.g: | ||
Line 9: | Line 6: | ||
<pre><nowiki>{{Chan|Anne French Fry}}</nowiki></pre> | <pre><nowiki>{{Chan|Anne French Fry}}</nowiki></pre> | ||
{{Chan| | {{Chan|Anne_French_Fry}} | ||
<pre><nowiki>{{Chan|Trolley-chan|variant=Top Trolley}}</nowiki></pre> | |||
{{Chan|Trolley-chan|variant=Top Trolley}} | |||
or | |||
<pre><nowiki>{{Chan|Trolley-chan#Top Trolley}}</nowiki></pre> | |||
{{Chan|Trolley-chan#Top Trolley}} | |||
== Template Data == | == Template Data == | ||
Line 17: | Line 23: | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The | "description": "The page for the chan (capitalisation matters!).", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | |||
"variant": { | |||
"label": "Variant", | |||
"description": "The variant of the chan being referenced, if there is one (capitalisation matters!).", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"description": "A link to | "description": "A link to a chan with a small portrait.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1", | ||
"variant" | |||
], | ], | ||
"format": "inline" | "format": "inline" |