Difference between revisions of "Template:T"

From The Coppermind
Jump to navigation Jump to search
m
m
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tt>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!--
+
<includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!--
 
-->{{#if:{{{2|}}}|&#124;{{{2}}}|}}<!--
 
-->{{#if:{{{2|}}}|&#124;{{{2}}}|}}<!--
 
-->{{#if:{{{3|}}}|&#124;{{{3}}}|}}<!--
 
-->{{#if:{{{3|}}}|&#124;{{{3}}}|}}<!--
Line 8: Line 8:
 
-->{{#if:{{{8|}}}|&#124;{{{8}}}|}}<!--
 
-->{{#if:{{{8|}}}|&#124;{{{8}}}|}}<!--
 
-->{{#if:{{{9|}}}|&#124;{{{9}}}|}}<!--
 
-->{{#if:{{{9|}}}|&#124;{{{9}}}|}}<!--
-->}}</tt></includeonly><noinclude>
+
-->}}</code></includeonly><noinclude>
  +
== Documentation ==
Usage is as follows: {{t|t|template name|first parameter|second paramater|5=named=paramater}}.
 
  +
=== Usage ===
  +
Usage is as follows:
   
 
{{t|t|template name|first parameter|second parameter}}.
For details, please refer to the wikipedia's doc page: [[Wikipedia:Template:Tlx]]
 
  +
{{cat|link macros}}
 
  +
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 &#61; value{{t|Rosharan numeric date|year &#61; 1172|month &#61; 5|week &#61; 10|day &#61; 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