Difference between revisions of "Template:Supt/doc"
(Created page with "== Introduction == This is a special format template with superscript. It can display the corresponding navbox at the same time and save the display space....") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
== Example usage == | == Example usage == | ||
<pre> | <pre> | ||
− | * {{Supt|VOICE BEAR Studio}} <!-- Both the page and the corresponding | + | * {{Supt|VOICE BEAR Studio}} <!-- Both the page and the corresponding navbox exist--> |
− | * {{Supt|Crow's Mouth}} <!--The page exists, the corresponding | + | * {{Supt|Crow's Mouth}} <!--The page exists, the corresponding navbox does not exist--> |
− | * {{Supt|Chinese comic works}} <!--The page does not exist, the corresponding | + | * {{Supt|Chinese comic works}} <!--The page does not exist, the corresponding navbox exists--> |
− | * {{Supt|Miao Mi Mi}} <!--The page and the corresponding | + | * {{Supt|Miao Mi Mi}} <!--The page and the corresponding navbox do not exist--> |
− | * {{Supt|Pleasant Goat and Big Big Wolf|arg=⊙|title= | + | * {{Supt|Pleasant Goat and Big Big Wolf|arg=⊙|title=Weslie}} <!--Parameter setting--> |
</pre> | </pre> | ||
− | * {{Supt|VOICE BEAR Studio}} <!-- Both the page and the corresponding | + | * {{Supt|VOICE BEAR Studio}} <!-- Both the page and the corresponding navbox exist--> |
− | * {{Supt|Crow's Mouth}} <!--The page exists, the corresponding | + | * {{Supt|Crow's Mouth}} <!--The page exists, the corresponding navbox does not exist--> |
− | * {{Supt|Chinese comic works}} <!--The page does not exist, the corresponding | + | * {{Supt|Chinese comic works}} <!--The page does not exist, the corresponding navbox exists--> |
− | * {{Supt|Miao Mi Mi}} <!--The page and the corresponding | + | * {{Supt|Miao Mi Mi}} <!--The page and the corresponding navbox do not exist--> |
− | * {{Supt|Pleasant Goat and Big Big Wolf|arg=⊙|title= | + | * {{Supt|Pleasant Goat and Big Big Wolf|arg=⊙|title=Weslie}} <!--Parameter setting--> |
<pre> | <pre> | ||
− | * {{Supt|TrioPen Studio|TrioPen | + | * {{Supt|TrioPen Studio|TrioPen}} <!-- Both the page and the corresponding navbox exist, showing other characters--> |
− | * {{Supt| | + | * {{Supt|Disabilities||disabilities}} <!--The page does not exist, but there is a corresponding template with another name --> |
* {{Supt|Detective Conan|Shinigami Primary School|Conan|arg=♠|title=The murderer is you!|color=brown}} <!--All parameters--> | * {{Supt|Detective Conan|Shinigami Primary School|Conan|arg=♠|title=The murderer is you!|color=brown}} <!--All parameters--> | ||
</pre> | </pre> | ||
− | * {{Supt|TrioPen Studio|TrioPen}} <!-- Both the page and the corresponding | + | * {{Supt|TrioPen Studio|TrioPen}} <!-- Both the page and the corresponding navbox exist, showing other characters--> |
* {{Supt|Disabilities||disabilities}} <!--The page does not exist, but there is a corresponding template with another name --> | * {{Supt|Disabilities||disabilities}} <!--The page does not exist, but there is a corresponding template with another name --> | ||
− | * {{Supt|Detective Conan| | + | * {{Supt|Detective Conan|Shinigami Primary School|Conan|arg=♠|title=The murderer is you!|color=brown}} <!--All parameters--> |
== Related == | == Related == | ||
Line 44: | Line 44: | ||
{{Formatting templates}} | {{Formatting templates}} | ||
− | <noinclude>[[Category:Template documentation]]</noinclude>< | + | <noinclude>[[Category:Template documentation]]</noinclude><includeonly>[[zh:Template:Supt]]</includeonly> |
Latest revision as of 18:09, 13 April 2022
Introduction
This is a special format template with superscript. It can display the corresponding navbox at the same time and save the display space.
The full English name of the template is "SupTemplate".
Parameters
- optional except the first parameter
- The first parameter: the name of the linked article
- The second parameter: the display character of the linked article
- The third parameter: the template name of the superscript link (without Template), the default is the first parameter
- arg: superscript chaining into the template display character, the default is "[+]"
- title: superscript mouseover display character, default is "member template"
- color: superscript character color, judged by default, #2C5594 if it exists, red if it does not exist
Example usage
* {{Supt|VOICE BEAR Studio}} <!-- Both the page and the corresponding navbox exist--> * {{Supt|Crow's Mouth}} <!--The page exists, the corresponding navbox does not exist--> * {{Supt|Chinese comic works}} <!--The page does not exist, the corresponding navbox exists--> * {{Supt|Miao Mi Mi}} <!--The page and the corresponding navbox do not exist--> * {{Supt|Pleasant Goat and Big Big Wolf|arg=⊙|title=Weslie}} <!--Parameter setting-->
* {{Supt|TrioPen Studio|TrioPen}} <!-- Both the page and the corresponding navbox exist, showing other characters--> * {{Supt|Disabilities||disabilities}} <!--The page does not exist, but there is a corresponding template with another name --> * {{Supt|Detective Conan|Shinigami Primary School|Conan|arg=♠|title=The murderer is you!|color=brown}} <!--All parameters-->
Related
{{Supu}}
|