Template:Xref

From EPOD
Revision as of 10:14, 22 January 2019 by Anw (talk | contribs) (Created page with "<includeonly> ''' {{{Type}}} {{{Ref}}}''': {{{Text|}}} </includeonly> <noinclude> == Usage == The following includes the text passed to the template. The example shows how this ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Usage

The following includes the 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
|ExampleNo={{ #vardefineecho: Example | {{ #expr: {{ #var: Example }} + 1 }} }}
|Text=The text describing the cross-reference
}} 


Example {{{Ref}}}: The text describing the cross-reference