Template:Xref: Difference between revisions
From Calidus HUB
(Created page with "<includeonly> '''{{{Type}}} {{{Num}}}''': ''{{{Text|}}}'' </includeonly><noinclude> == Usage == The following includes the type, number and text passed to the template. The exam...") |
(No difference)
|
Revision as of 10:43, 22 January 2019
Usage
The following includes the type, number and text passed to the template. The example shows how this may be used within an document template. If not, replace the parameters with literals.
{{#vardefine:Example|0}} {{Xref |Num={{ #vardefineecho: Example | {{ #expr: {{ #var: Example }} + 1 }} }} |Text=The text describing the cross-reference }}
Example 1: The text describing the cross-reference