Difference between revisions of "Template:T"
Jump to navigation
Jump to search
m |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{[[Template:{{{1}}}|{{{ |
+ | <includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!-- |
+ | -->{{#if:{{{2|}}}||{{{2}}}|}}<!-- |
||
− | This template allows you to link to a template. See [[Wikipedia:Template:Tlg]] for a different version. |
||
+ | -->{{#if:{{{3|}}}||{{{3}}}|}}<!-- |
||
− | {{cat|link macros}} |
||
+ | -->{{#if:{{{4|}}}||{{{4}}}|}}<!-- |
||
+ | -->{{#if:{{{5|}}}||{{{5}}}|}}<!-- |
||
+ | -->{{#if:{{{6|}}}||{{{6}}}|}}<!-- |
||
+ | -->{{#if:{{{7|}}}||{{{7}}}|}}<!-- |
||
+ | -->{{#if:{{{8|}}}||{{{8}}}|}}<!-- |
||
+ | -->{{#if:{{{9|}}}||{{{9}}}|}}<!-- |
||
+ | -->}}</code></includeonly><noinclude> |
||
+ | == Documentation == |
||
+ | === Usage === |
||
+ | Usage is as follows: |
||
+ | |||
+ | {{t|t|template name|first parameter|second parameter}}. |
||
+ | |||
+ | 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}} |
||
+ | For additional details and information, please refer to the wikipedia's doc page: [[Wikipedia: Template: Tlx]] |
||
+ | |||
+ | [[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