Template:Taglink: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m herp
Flozi (talk | contribs)
m vier
Line 5: Line 5:
   span.hide:only-of-type {
   span.hide:only-of-type {
       display: inline;
       display: inline;
  }
  span.code {
       font-size: 90%;  
       font-size: 90%;  
       color: #9f9;
       color: #9f9;
       font-family: monospace;
       font-family: monospace;
   }
   }
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span><span class="hide"> = </span>{{{2|<span></span>}}}</span></includeonly><noinclude>
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span class="code"><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).



Revision as of 14:37, 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