Difference between revisions of "Template:T"
Jump to navigation
Jump to search
m (tweak documentation) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
-->{{#if:{{{9|}}}||{{{9}}}|}}<!-- |
-->{{#if:{{{9|}}}||{{{9}}}|}}<!-- |
||
-->}}</code></includeonly><noinclude> |
-->}}</code></includeonly><noinclude> |
||
+ | == Documentation == |
||
⚫ | |||
+ | === Usage === |
||
+ | Usage is as follows: |
||
⚫ | |||
− | To pass named parameters, you can use <code>name &#<span>61</span>; value</code>, surround it in <code><nowiki><nowiki /></nowiki></code> tags, or use correctly numbered parameters. |
||
+ | To pass named parameters, you can |
||
⚫ | |||
+ | * use <code>name &#<span>61</span>; value</code> — {{t|t|Rosharan numeric date|year &#<span>61</span>; 1172|month &#<span>61</span>; 5|week &#<span>61</span>; 10|day &#<span>61</span>; 6}}; |
||
+ | * surround it in <code><nowiki><nowiki /></nowiki></code> tags — <code><nowiki>{{t|Rosharan numeric date|<nowiki>year=1172|month=5|week=1|day=6</nowiki></nowiki>}}</code>; or |
||
+ | * use correctly numbered parameters. |
||
+ | |||
+ | === More information === |
||
+ | {{for|Wikipedia: Template: Tlx|additional details and information}} |
||
⚫ | |||
[[Category: Link macros]] |
[[Category: Link macros]] |
||
− | |||
− | |||
− | {{t|test|a=b}} |
Revision as of 16:36, 8 January 2018
Documentation
Usage
Usage is as follows:
{{t|template name|first parameter|second parameter}}
.
To pass named parameters, you can
- use
name = value
—{{t|Rosharan numeric date|year = 1172|month = 5|week = 10|day = 6}}
; - surround it in
<nowiki />
tags —{{t|Rosharan numeric date|<nowiki>year=1172|month=5|week=1|day=6</nowiki>}}
; or - use correctly numbered parameters.
More information
For additional details and information, please refer to the wikipedia's doc page: Wikipedia: Template: Tlx