Difference between revisions of "Template:Version links/link"

From Mystcraft
Jump to: navigation, search
m (6 revisions imported: Importing old wiki)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="version-link">{{#if:{{{selected|}}}||{{!((}}{{{1}}}{{!}}}}<span style='text-decoration: none; color: {{icolor|{{#ifexist:{{{1}}}|{{#var:version_links_theme}}|gray}}|text}}; {{#if:{{{selected|}}}|background-color: {{icolor|{{#var:version_links_theme}}|highlight}};  {{border radius|2px}} border: 1px solid {{icolor|{{#var:version_links_theme}}|border}}; padding: 0.2em;}}'>{{#if:{{{selected|}}}|'''{{{2}}}'''|{{{2}}}}}</span>{{#if:{{{selected|}}}||{{!))}}}}</span>
+
<span class="version-link">{{#ifeq:{{{selected|0}}}|1||{{!((}}{{{1}}}{{!}}}}<span style='text-decoration: none; color: {{icolor|{{#ifexist:{{{1}}}|{{#var:version_links_theme}}|gray}}|text}}; {{#ifeq:{{{selected|0}}}|1|background-color: {{icolor|{{#var:version_links_theme}}|highlight}};  {{border radius|2px}} border: 1px solid {{icolor|{{#var:version_links_theme}}|border}}; padding: 0.2em;}}'>{{#ifeq:{{{selected|0}}}|1|'''{{{2}}}'''|{{{2}}}}}</span>{{#ifeq:{{{selected|0}}}|1||{{!))}}}}</span>

Latest revision as of 14:50, 24 May 2018

[[{{{1}}}|{{{2}}}]]