Difference between revisions of "Template:School"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (hyperlinks) |
SurtrFan8511 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><!-- But why make so many templates tho? Just translate everything here {{School:--> | <includeonly><onlyinclude><!-- But why make so many templates tho? Just translate everything here {{School:-->{{#ifeq:{{{no link|}}}|true||{{!((}}}}{{#vardefineecho:school kanji|{{#switch:{{{id|{{{1|{{{en name|{{{jp name|}}}}}}}}}}}} | ||
| 0 | None = None | | 0 | None = None | ||
| 1 | Unknown = Unknown | | 1 | Unknown = Unknown | ||
Line 26: | Line 26: | ||
|#default = School {{{id|{{{1|{{{en name|{{{jp name|}}}}}}}}}}}} | |#default = School {{{id|{{{1|{{{en name|{{{jp name|}}}}}}}}}}}} | ||
}}}} | }}}}{{#ifeq:{{{no link|}}}|true||{{))!}}}}<!--Hi Ara}}--></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> | ||
<noinclude>{{Documentation}}</noinclude> |
Revision as of 13:21, 7 October 2022
Description
This template translates transient school data from numeric IDs or jp text into English text and adds an optional hyperlink to the school page.
Usage
{{School|id=2}}
{{School|jp name=不死見学園}}
{{School|id=7|link=false}}
The above documentation is transcluded from Template:School/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |