Template:Indicator: Difference between revisions

From MegaManMaker Wiki
Jump to navigation Jump to search
Created page with "<includeonly><span style="image-rendering:pixelated;">{{#ifexpr:{{{1|0}}}=0and{{{2|0}}}=0|25px|sub|center|This level is online.|}}{{#ifexpr:{{{1|0}}}=0and{{{2|1}}}=1| 25px|sub|center|This level has been reuploaded and is online.|}}{{#ifexpr:{{{1|1}}}=1and{{{2|0}}}=0|25px|sub|center|This level is pending playtesting on the current version.|}}{{#ifexpr:{{{1|1}}}=1and{{{2|1}}}=1|[..."
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="image-rendering:pixelated;">{{#ifexpr:{{{1|0}}}=0and{{{2|0}}}=0|[[File:online-indicator.png|25px|sub|center|This level is online.]]|}}{{#ifexpr:{{{1|0}}}=0and{{{2|1}}}=1| [[File:Reuploaded-indicator.png|25px|sub|center|This level has been reuploaded and is online.]]|}}{{#ifexpr:{{{1|1}}}=1and{{{2|0}}}=0|[[File:pending-indicator.png|25px|sub|center|This level is pending playtesting on the current version.]]|}}{{#ifexpr:{{{1|1}}}=1and{{{2|1}}}=1|[[File:deleted-indicator.png|25px|sub|center|This level has been deleted.]]|}}</span></includeonly><noinclude>A simple template to indicate the status of a level. This template is meant for use on the [[Puzzle]] and [[Blind Kaizo Race]] pages and is an edit of [[:Template:MscTileInf]] originally by [[:User:SagiriHimoto|Sagiri Himoto]]. Icons are automatically centered.
<includeonly><span style="image-rendering:pixelated;">{{#switch:{{{1|}}}|online=[[File:online-indicator.png|25px|sub|center|This level is online.]]|reuploaded=[[File:Reuploaded-indicator.png|25px|sub|center|This level has been reuploaded and is online.]]|pending=[[File:pending-indicator.png|25px|sub|center|This level is pending playtesting on the current version.]]|deleted=[[File:deleted-indicator.png|25px|sub|center|This level has been deleted.]]|used=[[File:online-indicator.png|25px|sub|center|This is used in the latest version of the game.]]|unused=[[File:deleted-indicator.png|25px|sub|center|This is no longer used in the latest version of the game.]]|0={{#switch:{{{2|0}}}|0=[[File:online-indicator.png|25px|sub|center|This level is online.]]|1=[[File:Reuploaded-indicator.png|25px|sub|center|This level has been reuploaded and is online.]]}}|1={{#switch:{{{2|0}}}|0=[[File:pending-indicator.png|25px|sub|center|This level is pending playtesting on the current version.]]|1=[[File:deleted-indicator.png|25px|sub|center|This level has been deleted.]]}}}}</span></includeonly><noinclude>A simple template to indicate the status of various things. This template was meant for use on the [[Puzzle]] and [[Blind Kaizo Race]] pages and is an edit of [[:Template:MscTileInf]] originally by [[:User:SagiriHimoto|Sagiri Himoto]], but has since been expanded to support extra uses. Icons are automatically centered.


==Parameters==
==Parameters==
Line 9: Line 9:
! scope="col" | Usage
! scope="col" | Usage
! scope="col" | Code
! scope="col" | Code
! scope="col" | Look
! scope="col" | Output with Syntax 1 || Output with Syntax 2
|-
|-
|Online
|Online
|<pre style="display:table">{{Indicator|0|0}}</pre>
|'''<nowiki>{{Indicator|online}}</nowiki>'''<br/>or<br/><nowiki>{{Indicator|0|0}}</nowiki>
|{{Indicator|0|0}}
|{{Indicator|online}}||{{Indicator|0|0}}
|-
|-
|Online (reuploaded)
|Online (reuploaded)
|<pre style="display:table">{{Indicator|0|1}}</pre>
|'''<nowiki>{{Indicator|reuploaded}}</nowiki>'''<br/>or<br/><nowiki>{{Indicator|0|1}}</nowiki>
|{{Indicator|0|1}}
|{{Indicator|reuploaded}}||{{Indicator|0|1}}
|-
|-
|To test on current version
|To test on current version
|<pre style="display:table">{{Indicator|1|0}}</pre>
|'''<nowiki>{{Indicator|pending}}</nowiki>'''<br/>or<br/><nowiki>{{Indicator|1|0}}</nowiki>
|{{Indicator|1|0}}
|{{Indicator|pending}}||{{Indicator|1|0}}
|-
|-
|Deleted
|Deleted
|<pre style="display:table">{{Indicator|1|1}}</pre>
|'''<nowiki>{{Indicator|deleted}}</nowiki>'''<br/>or<br/><nowiki>{{Indicator|1|1}}</nowiki>
|{{Indicator|1|1}}
|{{Indicator|deleted}}||{{Indicator|1|1}}
|-
|-
|Used
|'''<nowiki>{{Indicator|used}}</nowiki>'''
|colspan="2"|{{Indicator|used}}
|-
|Unused
|'''<nowiki>{{Indicator|unused}}</nowiki>'''
|colspan="2"|{{Indicator|unused}}
|}
|}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 03:32, 4 September 2024

A simple template to indicate the status of various things. This template was meant for use on the Puzzle and Blind Kaizo Race pages and is an edit of Template:MscTileInf originally by Sagiri Himoto, but has since been expanded to support extra uses. Icons are automatically centered.

Parameters

There are two parameters, both of which are required for the template to function correctly (see below examples).

Examples

Usage Code Output with Syntax 1 Output with Syntax 2
Online {{Indicator|online}}
or
{{Indicator|0|0}}
This level is online.
This level is online.
This level is online.
This level is online.
Online (reuploaded) {{Indicator|reuploaded}}
or
{{Indicator|0|1}}
This level has been reuploaded and is online.
This level has been reuploaded and is online.
This level has been reuploaded and is online.
This level has been reuploaded and is online.
To test on current version {{Indicator|pending}}
or
{{Indicator|1|0}}
This level is pending playtesting on the current version.
This level is pending playtesting on the current version.
This level is pending playtesting on the current version.
This level is pending playtesting on the current version.
Deleted {{Indicator|deleted}}
or
{{Indicator|1|1}}
This level has been deleted.
This level has been deleted.
This level has been deleted.
This level has been deleted.
Used {{Indicator|used}}
This is used in the latest version of the game.
This is used in the latest version of the game.
Unused {{Indicator|unused}}
This is no longer used in the latest version of the game.
This is no longer used in the latest version of the game.