Template:Taglink
Template page
More actions
{{#css:
span.mono {
font-family: courier, monospace;
}
span.value {
color: #ff6600;
}
}} A template to simplify cross-referencing definition tags (currently only within a page).
Usage:
{{taglink|foo}}
Result:
{{#css:
span.mono {
font-family: courier, monospace;
}
span.value {
color: #ff6600;
}
}}foo
Usage (Optional 2nd param to link to a tag with a given value):
{{taglink|foo|bar}}
Result: {{#css:
span.mono {
font-family: courier, monospace;
}
span.value {
color: #ff6600;
}
}}foo = {{#css:
span.value {
color:#e65c00;
font-family: ‘Lucida Console’, Monaco, monospace;
}
span.type {
color:#0099cc;
font-family: ‘Lucida Console’, Monaco, monospace;
}
span.prefix {
color:#105289;
font-family: ‘Lucida Console’, Monaco, monospace;
}
span.name {
color:#105289;
font-family: ‘Lucida Console’, Monaco, monospace;
font-weight:bold;
}
span.var {
font-family: ‘Lucida Console’, Monaco, monospace;
}
}}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.