Difference between revisions of "Template:Entity Infobox"

From Sven Co-op
Jump to navigation Jump to search
m (Default values for "type" and "status".)
m ("replaced" -> "replaced_by")
Line 20: Line 20:
 
{{#switch: {{{status|s}}} | o = obsolete | s = supported | ??? }}
 
{{#switch: {{{status|s}}} | o = obsolete | s = supported | ??? }}
 
{{!}}-
 
{{!}}-
  {{#if:{{{replaced|}}} |{{#ifeq:{{{status|}}} | o |
+
  {{#if:{{{replaced_by|}}} |{{#ifeq:{{{status|}}} | o |
 
{{!}}-
 
{{!}}-
 
{{!}} class="infoboxlabel" {{!}} Replaced by
 
{{!}} class="infoboxlabel" {{!}} Replaced by
 
{{!}} class="infoboxcell" {{!}}
 
{{!}} class="infoboxcell" {{!}}
[[{{{replaced|}}}]]
+
[[{{{replaced_by|}}}]]
 
{{!}}-
 
{{!}}-
 
|}}|}}
 
|}}|}}
Line 42: Line 42:
 
| type=
 
| type=
 
| status=
 
| status=
| replaced=
+
| replaced_by=
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  

Revision as of 06:03, 27 January 2019

entity infobox
Type

point

Status

supported

 


1 Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Entity_Infobox
| title=
| type=
| status=
| replaced_by=
}}

1.1 Display parameters

(none)