Template:Infobox command: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
added "removed" row
remove link from ? for the removed version, doc
Line 16: Line 16:
   }}}}
   }}}}
}}
}}
{{#if: {{{removed|}}} | {{infobox row|Removed|{{version link|{{{removed}}} }} }} }}
{{#if: {{{removed|}}} | {{infobox row|Removed|{{
  #switch: {{{removed}}}
  | ? | unknown = ?
  | {{version link|{{{removed}}} }}
  }}}}
}}
|footer={{
|footer={{
   #if: {{{upcoming|}}}
   #if: {{{upcoming|}}}
Line 52: Line 57:
| <code>upcoming</code>
| <code>upcoming</code>
| Sets the command to upcoming, adding the upcoming footer.
| Sets the command to upcoming, adding the upcoming footer.
|
|-
| <code>removed</code>
| Sets the version the command was removed. If set to ? or unknown, it will display an unlinked ?
|
|
|}
|}

Revision as of 23:15, 27 August 2015

{{{1}}}
Restrictions

None

[edit] [history] [refresh]Documentation

This template provides a uniform design for the infobox on the commands page. Template:Pipe escape