Template:Taglink: Difference between revisions
From Spring
Jump to navigationJump to search
fix link to weapondefs page |
m update link |
||
| Line 29: | Line 29: | ||
{{taglink|foo|bar}} | {{taglink|foo|bar}} | ||
N.B. Please do not use this tag ''within'' a <nowiki><code></nowiki> block when documenting a formula tags are used in - it will break the markup and is confusing. See [[ | N.B. Please do not use this tag ''within'' a <nowiki><code></nowiki> block when documenting a formula tags are used in - it will break the markup and is confusing. See [[Gamedev:WeaponDefs#Tag:burstRate]] for an example of the proper usage in this case. | ||
</noinclude> | </noinclude> | ||
Revision as of 23:31, 28 October 2013
A template to simplify cross-referencing definition tags (currently only within a page).
Usage:
{{taglink|foo}}
Result:
foo =
Usage (Optional 2nd param to link to a tag with a given value):
{{taglink|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 Gamedev:WeaponDefs#Tag:burstRate for an example of the proper usage in this case.