Template:T: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Hackey5
m Updating Category:General wiki templates → Category:General templates (automatic)
m 19 revisions imported: Copied from Official Wiki https://geometrydash.wiki.gg/index.php?title=Template%3AT&oldid=253306 ; contributors: https://geometrydash.wiki.gg/index.php?title=Template%3AT&action=history
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{t/piece|{{{19|---}}}}}{{t/piece|{{{20|---}}}}}{{t/piece|{{{21|---}}}}}<nowiki>}}</nowiki><noinclude>
<code><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#ifeq:{{{2|---}}}|---||&#124;''&lt;{{{2}}}&gt;''}}{{#ifeq:{{{3|---}}}|---||&#124;''&lt;{{{3}}}&gt;''}}{{#ifeq:{{{4|---}}}|---||&#124;''&lt;{{{4}}}&gt;''}}{{#ifeq:{{{5|---}}}|---||&#124;''&lt;{{{5}}}&gt;''}}{{#ifeq:{{{6|---}}}|---||&#124;''&lt;{{{6}}}&gt;''}}{{#ifeq:{{{7|---}}}|---||&#124;''&lt;{{{7}}}&gt;''}}{{#ifeq:{{{8|---}}}|---||&#124;''&lt;{{{8}}}&gt;''}}{{#ifeq:{{{9|---}}}|---||&#124;''&lt;{{{9}}}&gt;''}}{{#ifeq:{{{10|---}}}|---||&#124;''&lt;{{{10}}}&gt;''}}{{#ifeq:{{{11|---}}}|---||&#124;''&lt;{{{11}}}&gt;''}}<nowiki>}}</nowiki></code><noinclude>
;Description
;Description
:This template displays template links within double curly brackets but without transcluding the template, therefore providing samples for readers. Additionally, up to twenty examples of possible parameters can be specified. [[Template:T/piece]] is utilised extensively within this template's code.
:This template displays template links within double braces but without transcluding the template in order to provide samples. Additionally, up to ten examples of possible parameters can be specified.
;Syntax
;Syntax
:Type {{t|t|parameter1|parameter2|parameter3|...|parameter20}}
:Type {{t|t|parameter1|parameter2|...|parameter10}} where a template sample link is desired.
;Sample code
;Sample code
*Link only: {{t|Clear}}
*Link only: {{t|Flag}}
*Link and parameters: {{t|Clear|left|right}}
*Link and parameters: {{t|Flag|flagcode|hovertext}}
[[Category:General templates]]</noinclude>
[[Category:General templates]]</noinclude>

Latest revision as of 18:57, 10 October 2026

{{[[Template:{{{1}}}|{{{1}}}]]}}

Description
This template displays template links within double braces but without transcluding the template in order to provide samples. Additionally, up to ten examples of possible parameters can be specified.
Syntax
Type {{t|<parameter1>|<parameter2>|<...>|<parameter10>}} where a template sample link is desired.
Sample code
  • Link only: {{Flag}}
  • Link and parameters: {{Flag|<flagcode>|<hovertext>}}