Template:Taglink: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m procrastinate 2
Flozi (talk | contribs)
m herp
Line 9: Line 9:
       font-family: monospace;
       font-family: monospace;
   }
   }
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span><span class="hide"> = </span>{{{2|<span></span>}}}</span></pre></includeonly><noinclude>
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span><span class="hide"> = </span>{{{2|<span></span>}}}</span></includeonly><noinclude>
A template to simplify cross-referencing definition [[Template:Tag|tags]] (currently only within a page).
A template to simplify cross-referencing definition [[Template:Tag|tags]] (currently only within a page).


<span class="hide"><pre>Usage:</pre></span>
Usage:


<pre>{{taglink|foo}} bob</pre>
<pre>{{taglink|foo}} bob</pre>

Revision as of 14:35, 21 October 2012

A template to simplify cross-referencing definition tags (currently only within a page).

Usage:

{{taglink|foo}} bob

Result:

foo = bob

Usage (Optional 2nd param to link to a tag with a given value):

{{taglink|foo|bar}} bob

Result: foo = bar