Difference between revisions of "Template:Mode"

From Binding of Isaac: Rebirth Wiki
Jump to: navigation, search
(Created page with "<onlyinclude><includeonly>{{#switch: {{lc:{{{1}}}}}<!-- -->| normal = <span style="cursor:help">16px|link=|Normal mode only</span><!-- -->| hard =...")
 
(allow greed and greedier mode indicators to merge like normal and hard mode does)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch: {{lc:{{{1}}}}}<!--
+
<onlyinclude><includeonly><!--
  +
-->| normal = <span style="cursor:help">[[File:NormalIndicator.png|16px|link=|Normal mode only]]</span><!--
 
  +
-->{{#vardefine: {{{1|}}} | 1 }}<!--
-->| hard = <span style="cursor:help">[[File:HardIndicator.png|16px|link=Hard mode|Hard mode only]]</span><!--
 
  +
-->{{#vardefine: {{{2|}}} | 1 }}<!--
-->| both = <span style="cursor:help">[[File:BothIndicator.png|16px|link=Hard mode|Normal and hard modes only]]</span><!--
 
  +
-->{{#vardefine: {{{3|}}} | 1 }}<!--
-->| greed = <span style="cursor:help">[[File:Greed Mode Indicator.png|Greed Mode|link=Greed Mode|Greed mode only]]</span><!--
 
  +
-->{{#vardefine: {{{4|}}} | 1 }}<!--
-->| greedier = <span style="cursor:help">[[File:Greedier Mode Indicator.png|link=Greed Mode#Greedier Mode|Greedier mode only]]</span><!--
 
  +
-->{{#vardefine: {{{5|}}} | 1 }}<!--
-->| both greed = <span style="cursor:help">[[File:Both Greed Modes Indicator.png|link=Greed Mode|Greed and Greedier modes only]]</span><!--
 
  +
-->| all = <!--
 
  +
-->{{#if: {{#var: normal }} | {{#vardefine: normal }}{{#if: {{#var: hard }} | {{#vardefine: hard }}[[file:BothIndicator.png|16x16px|class=indicator|link=Hard mode|Normal and hard modes only]] | [[file:NormalIndicator.png|16x16px|class=indicator|link=|Normal mode only]] }} | {{#if: {{#var: hard }} | {{#vardefine: hard }}[[file:HardIndicator.png|16x16px|class=indicator|link=Hard mode|Hard mode only]] }} }}<!--
-->}}</includeonly></onlyinclude>
 
  +
-->{{#if: {{#var: greed }} | {{#vardefine: greed }}{{#if: {{#var: greedier }} | {{#vardefine: greedier }}[[file:Both_Greed_Modes_Indicator.png|16x16px|class=indicator|link=Greed Mode|Greed and greedier modes only]] | [[file:Greed Mode Indicator.png|16x16px|class=indicator|link=Greed Mode|Greed mode only]] }} | {{#if: {{#var: greedier }} | {{#vardefine: greedier }}[[file:Greedier Mode Indicator.png|16x16px|class=indicator|link=Greed Mode#Greedier Mode|Greedier mode only]] }} }}<!--
  +
-->{{#if: {{#var: daily }} | {{#vardefine: daily }}[[file:Daily Run Indicator.png|16x16px|class=indicator|link=Daily Challenges|Daily run only]] }}<!--
  +
 
--></includeonly></onlyinclude>
 
{{doc}}
 
{{doc}}
  +
  +
[[fr:modèle:mode]]

Latest revision as of 07:29, 19 January 2021

Template-info.png Documentation

Displays a gamemode icon.

Usage

This template is used by entering: {{mode|...=}}

Parameters

unnamed parameters
The name of the gamemodes.
Choose one of the following strings to specify the gamemode:
normal yields Normal mode only.
hard yields Hard mode only.
greed yields Greed mode only.
greedier yields Greedier mode only.
daily yields Daily run only.
You can specify multiple gamemodes:
{{mode|normal=|hard=}} yields Normal and hard modes only.
{{mode|greed=|greedier=}} yields Greed and greedier modes only.
{{mode|normal=|greedier=}} yields Normal mode onlyGreedier mode only.
{{mode|hard=|greed=|daily=}} yields Hard mode onlyGreed mode onlyDaily run only.