Difference between revisions of "Template:T"
Jump to navigation
Jump to search
m |
m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< |
+ | <includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!-- |
-->{{#if:{{{2|}}}||{{{2}}}|}}<!-- |
-->{{#if:{{{2|}}}||{{{2}}}|}}<!-- |
||
-->{{#if:{{{3|}}}||{{{3}}}|}}<!-- |
-->{{#if:{{{3|}}}||{{{3}}}|}}<!-- |
||
Line 8: | Line 8: | ||
-->{{#if:{{{8|}}}||{{{8}}}|}}<!-- |
-->{{#if:{{{8|}}}||{{{8}}}|}}<!-- |
||
-->{{#if:{{{9|}}}||{{{9}}}|}}<!-- |
-->{{#if:{{{9|}}}||{{{9}}}|}}<!-- |
||
− | -->}}</ |
+ | -->}}</code></includeonly><noinclude> |
+ | == Documentation == |
||
⚫ | |||
+ | === Usage === |
||
+ | Usage is as follows: |
||
⚫ | |||
− | To pass named parameters, you can surround it in <nowiki> tags, or use <nowiki>{{#!:}}</nowiki> |
||
+ | 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]] |
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