Template:Template link general/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
"anypage" not needed anymore, <tt> shouldn't be used anymore
should <tt> be removed completely from documentation?
Line 4: Line 4:
==Explanation==
==Explanation==
{{tlx|tlg}} ('''<u>t</u>emplate <u>l</u>ink, <u>g</u>eneral''') is a general template for inserting a template link. It can be used to replace or implement any of the more specific <code><nowiki>{{tl*}}</nowiki></code> templates, e.g. {{tlx|tl}}, {{tlx|tlx}} or {{tlx|tlb}}. Parameters are:
{{tlx|tlg}} ('''<u>t</u>emplate <u>l</u>ink, <u>g</u>eneral''') is a general template for inserting a template link. It can be used to replace or implement any of the more specific <code><nowiki>{{tl*}}</nowiki></code> templates, e.g. {{tlx|tl}}, {{tlx|tlx}} or {{tlx|tlb}}. Parameters are:
* {{code|code{{=}}yes}} or {{code|tt{{=}}yes}}: Use the <code><nowiki><code>...</code></nowiki></code> HTML attribute (usually a monospaced font), like for {{tlx|tlc}} {{tlx|tlx}} and {{tlx|tlxb}}
* {{code|code{{=}}yes}} (or for historical reasons {{code|tt{{=}}yes}}): Use the <code><nowiki><code>...</code></nowiki></code> HTML attribute (usually a monospaced font), like for {{tlx|tlc}} {{tlx|tlx}} and {{tlx|tlxb}}
* {{code|bold{{=}}yes}}: '''Boldface''' the text, like for {{tlx|tlb}} and {{tlx|tlxb}}
* {{code|bold{{=}}yes}}: '''Boldface''' the text, like for {{tlx|tlb}} and {{tlx|tlxb}}
* {{code|italic{{=}}yes}}: ''Italicizes'' the parameters, like for {{tlx|tlxi}}
* {{code|italic{{=}}yes}}: ''Italicizes'' the parameters, like for {{tlx|tlxi}}