Difference between revisions of "Template:Entity Infobox"
Jump to navigation
Jump to search
m (Default values for "type" and "status".) |
m (PAGENAME -> PAGENAMEE) |
||
(One intermediate revision 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 20: | Line 20: | ||
{{#switch: {{{status|s}}} | o = obsolete | s = supported | ??? }} | {{#switch: {{{status|s}}} | o = obsolete | s = supported | ??? }} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{replaced_by|}}} |{{#ifeq:{{{status|}}} | o | |
{{!}}- | {{!}}- | ||
{{!}} class="infoboxlabel" {{!}} Replaced by | {{!}} class="infoboxlabel" {{!}} Replaced by | ||
{{!}} class="infoboxcell" {{!}} | {{!}} class="infoboxcell" {{!}} | ||
− | [[{{{ | + | [[{{{replaced_by|}}}]] |
{{!}}- | {{!}}- | ||
|}}|}} | |}}|}} | ||
Line 42: | 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 |
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)