Template:Taglink: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m remove <code> for now
Flozi (talk | contribs)
m procrastinate
Line 5: Line 5:
   span.hide:only-of-type {
   span.hide:only-of-type {
       display: inline;
       display: inline;
      font-size: 90%;
      color: #9f9;
   }
   }
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span><span class="hide"> = </span>{{{2|<span></span>}}}</span></includeonly><noinclude>
}}<includeonly>[[#Tag:{{{1}}}|<code>{{{1}}}</code>]]<span><span class="hide"><pre> = </pre></span><pre>{{{2|<span></span>}}}</pre></span></pre></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:33, 21 October 2012

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

Usage:

{{taglink|foo}} bob

Result:

foo

 = 
{{{2|<span></span>}}}

bob

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

{{taglink|foo|bar}} bob

Result:

foo

 = 
{{{2|<span></span>}}}