Template:Xtaglink: Difference between revisions
From Spring
Jump to navigationJump to search
New template analagous to Template:Taglink for use between different pages |
derp |
||
| Line 11: | Line 11: | ||
font-family: monospace; | font-family: monospace; | ||
} | } | ||
}}<includeonly>[[{{{1}}}#Tag:{{{2}}}|<code>{{{2}}}</code>]]<span class="code"><span class="hide"> = </span>{{{ | }}<includeonly>[[{{{1}}}#Tag:{{{2}}}|<code>{{{2}}}</code>]]<span class="code"><span class="hide"> = </span>{{{3|<span></span>}}}</span></includeonly><noinclude> | ||
A template to simplify cross-referencing definition [[Template:Tag|tags]] between different pages. Use [[Template:Taglink]] for links to tags within the same page. | A template to simplify cross-referencing definition [[Template:Tag|tags]] between different pages. Use [[Template:Taglink]] for links to tags within the same page. | ||
Revision as of 18:12, 27 October 2012
A template to simplify cross-referencing definition tags between different pages. Use Template:Taglink for links to tags within the same page.
Usage:
{{xtaglink|page|foo}}
Result:
foo =
Usage (Optional 3rd param to link to a tag with a given value):
{{xtaglink|page|foo|bar}}
Result:
foo = bar
N.B. Please do not use this tag within a <code> block when documenting a formula tags are used in - it will break the markup and is confusing. See Units-WeaponDefs#Tag:burstRate for an example of the proper usage in this case.