Template:R3Level: Difference between revisions

Trying to get references to work in templates
Improved formatting
Line 17: Line 17:
|- <includeonly>{{#if:{{{maxscore|}}}{{{maxscoreconsoles|}}}{{{maxscorepc|}}}||style="display:none;"}}</includeonly>
|- <includeonly>{{#if:{{{maxscore|}}}{{{maxscoreconsoles|}}}{{{maxscorepc|}}}||style="display:none;"}}</includeonly>
|style="padding:3px;text-align:center;"|<includeonly>[[Solution of {{#ifeq:{{#sub:{{PAGENAME}}|0|3}}|The|{{lcfirst:{{PAGENAME}}}}|{{PAGENAME}}}}|</includeonly>Maximum score<includeonly>]]</includeonly>:
|style="padding:3px;text-align:center;"|<includeonly>[[Solution of {{#ifeq:{{#sub:{{PAGENAME}}|0|3}}|The|{{lcfirst:{{PAGENAME}}}}|{{PAGENAME}}}}|</includeonly>Maximum score<includeonly>]]</includeonly>:
|{{#if:{{{maxscoreconsoles|}}}{{{maxscorepc|}}}|Consoles: {{R3Score|{{{maxscoreconsoles|}}}}}{{#if:{{{maxscoreconsolesnote|}}}|{{#tag:ref|{{{maxscoreconsolesnote}}}}}|}}<br />
|{{#if:{{{maxscoreconsoles|}}}{{{maxscorepc|}}}|Consoles:<br />{{R3Score|{{{maxscoreconsoles|}}}}}{{#if:{{{maxscoreconsolesnote|}}}|{{#tag:ref|{{{maxscoreconsolesnote}}}}}|}}<br />PC:<br />{{R3Score|{{{maxscorepc|}}}}}{{#if:{{{maxscorepcnote|}}}|{{#tag:ref|{{{maxscorepcnote}}}}}|}}|{{R3Score|{{{maxscore|}}}}}{{#if:{{{maxscorenote|}}}|{{#tag:ref|{{{maxscorenote}}}}}|}}}}
PC: {{R3Score|{{{maxscorepc|}}}}}{{#if:{{{maxscorepcnote|}}}|{{#tag:ref|{{{maxscorepcnote}}}}}|}}|{{R3Score|{{{maxscore|}}}}}{{#if:{{{maxscorenote|}}}|{{#tag:ref|{{{maxscorenote}}}}}|}}}}


|-
|-