Template:Infobox command: Difference between revisions

No edit summary
also deprecated 1/2 (replaced with name/oplevel)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
<includeonly>{{#invoke:infobox|infobox
|title={{{1|{{SUBPAGENAME}}}}}
|title={{{1|{{{name|{{SUBPAGENAME}}}}}}}}
|imagearea=none
|imagearea=none
|rows=
|rows=
Line 11: Line 11:
}}
}}
{{infobox row|Restrictions|{{
{{infobox row|Restrictions|{{
   #switch: {{lc:{{{2|}}}}}
   #switch: {{lc:{{{oplevel|{{{2|}}}}}}}}
   |op|operator = [[Operator]]{{
   |op|operator = [[Operator]]{{
     #ifeq: {{{cmdblock|}}} | 0 | <br>No [[command block]]s }}
     #ifeq: {{{cmdblock|}}} | 0 | <br>No [[command block]]s }}
Line 23: Line 23:
   }}
   }}
}}
}}
{{#if: {{{3|}}} | {{infobox row|First introduced[[Category:Pages with deprecated template input]]|{{version link|{{{3}}}}} {{
{{#if: {{{3|}}} | {{infobox row|First introduced|{{version link|{{{3}}}}} {{
   #if: {{{4|}}} | ({{version link|{{{4}}}|}})
   #if: {{{4|}}} | ({{version link|{{{4}}}|}})
   }} {{
   }} {{
Line 31: Line 31:
}}
}}
}}
}}
{{#if: {{{removed|}}} | {{infobox row|Removed[[Category:Pages with deprecated template input]]|{{
{{#if: {{{removed|}}} | {{infobox row|Removed|{{
   #switch: {{{removed}}}
   #switch: {{{removed}}}
   | ? | unknown = ?
   | ? | unknown = ?
Line 41: Line 41:
   | This command has appeared in [[development versions]], but a full update containing these features has not been released yet. [[Category:Upcoming]]
   | This command has appeared in [[development versions]], but a full update containing these features has not been released yet. [[Category:Upcoming]]
   }}
   }}
}}</includeonly><noinclude>
}}{{#if: {{{removed|}}}{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}} | [[Category:Pages with deprecated template input]] }}</includeonly><noinclude>
{{documentation}}
{{documentation}}[[Category:Templates with deprecated input]]
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>