Template:Template shortcuts/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} {{tsh|tsh}} {{high-use}}{{Commons Import}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template displays one or mor..."
 
Line 23:
* '''top''' – to change the padding above the box (e.g. {{para|top|0}} for no padding, {{para|top|0.2em}}, {{para|top|4}}{{\}}{{para|top|4px}}).
 
==Examples of basic code==
For more examples and uses cases see wikipedia: [[wikipedia:Template:Template shortcuts]]
 
To display one template shortcut named {{tl|uw-v1}}:
 
{{tlc|template shortcut|uw-v1}}
{{template shortcut|uw-v1}}
{{clear}}
 
To display three template shortcuts for {{tl|uw-vandalism1}} named {{tl|uw-v1}}, {{tl|uw-vand1}}, and {{tl|uw-vandal1}}:
 
{{tlc|template shortcut|uw-v1|uw-vand1|uw-vandal1}}
{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}
{{clear}}
 
==Example with the float parameter==