Template:Entity Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m PAGENAME -> PAGENAMEE |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div id="NPC_infobox" class="infobox hidable"> | <div id="NPC_infobox" class="infobox hidable"> | ||
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" | {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" | ||
! class="infoboxheading" colspan="2" | {{lc:{{{{{2| | ! class="infoboxheading" colspan="2" | {{lc:{{{{{2|PAGENAMEE}}}}}}} | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
{{!}}- | {{!}}- | ||
| 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|s}}} | o = obsolete | s = supported | ??? }} | |||
{{#switch: {{{status|}}} | o = obsolete | ??? }} | |||
{{!}}- | {{!}}- | ||
| {{# | {{#if:{{{replaced_by|}}} |{{#ifeq:{{{status|}}} | o | | ||
{{!}}- | {{!}}- | ||
{{!}} class="infoboxlabel" {{!}} Replaced by | {{!}} class="infoboxlabel" {{!}} Replaced by | ||
{{!}} class="infoboxcell" {{!}} | {{!}} class="infoboxcell" {{!}} | ||
{{{ | [[{{{replaced_by|}}}]] | ||
{{!}}- | {{!}}- | ||
}} | |}}|}} | ||
}} | |}} | ||
|- | |- | ||
! class="infoboxfooter" colspan="2" | | ! class="infoboxfooter" colspan="2" | | ||
| Line 43: | Line 42: | ||
| type= | | type= | ||
| status= | | status= | ||
| | | replaced_by= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Latest revision as of 06:42, 27 January 2019
| entity_infobox | |
|---|---|
| Type |
point |
| Status |
supported |
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=
}}
Display parameters
(none)