Difference between revisions of "Template:Smw/show/link/xref"

From Issuepedia
Jump to navigation Jump to search
(missing brace)
(increment by one because of counterintuitive numbering)
Line 1: Line 1:
 
<!-- usage:
 
<!-- usage:
? name
+
? name (2)
? page
+
? page (3)
? URL
+
? URL (4)
  
 
If page is set, links to that; otherwise uses URL.
 
If page is set, links to that; otherwise uses URL.
 
-->
 
-->
{{#if:{{{2}}}
+
{{#if:{{{3}}}
| [[{{{2}}}|{{{1}}}]]
+
| [[{{{3}}}|{{{2}}}]]
| [{{{3}}} {{{1}}}]
+
| [{{{4}}} {{{2}}}]
 
}}
 
}}

Revision as of 21:15, 20 October 2011

[[{{{3}}}|{{{2}}}]]