Difference between revisions of "Template:Entity Infobox"

From Sven Co-op
Jump to navigation Jump to search
m
m (Default values for "type" and "status".)
Line 8: Line 8:
 
{{{title|}}}
 
{{{title|}}}
 
{{!}}-
 
{{!}}-
|}} {{#if:{{{type|}}}|
+
|}} {{#if:{{{type|p}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} class="infoboxlabel" {{!}} Type
 
{{!}} class="infoboxlabel" {{!}} Type
 
{{!}} class="infoboxcell" {{!}}
 
{{!}} class="infoboxcell" {{!}}
{{#switch: {{{type|}}} | p = point | b = brush | ??? }}
+
{{#switch: {{{type|p}}} | p = point | b = brush | ??? }}
 
{{!}}-
 
{{!}}-
|}} {{#if:{{{status|}}}|
+
|}} {{#if:{{{status|s}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} class="infoboxlabel" {{!}} Status
 
{{!}} class="infoboxlabel" {{!}} Status
 
{{!}} class="infoboxcell" {{!}}
 
{{!}} class="infoboxcell" {{!}}
{{#switch: {{{status|}}} | o = obsolete | ??? }}
+
{{#switch: {{{status|s}}} | o = obsolete | s = supported | ??? }}
 
{{!}}-
 
{{!}}-
 
  {{#if:{{{replaced|}}} |{{#ifeq:{{{status|}}} | o |
 
  {{#if:{{{replaced|}}} |{{#ifeq:{{{status|}}} | o |

Revision as of 05:32, 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=
}}

1.1 Display parameters

(none)