Difference between revisions of "Template:Infobox Unique Item"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
{| class="infobox" border="1" style="float: right; width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;" | {| class="infobox" border="1" style="float: right; width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;" | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Type''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Type''' | ||
− | | width="50%" style="text-align:center;" | [[is itemtype::{{{type|(unknown)}}}]] | + | | width="50%" style="text-align:center;" | [[is itemtype::{{{type|(unknown)}}}|{{{type}}}]] |
|- | |- | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovered by''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovered by''' | ||
− | | width="50%" style="text-align:center;" | {{#if: {{{discoveredby|}}} | [[discovered by::{{{discoveredby}}}|{{{discoveredby}}}]] | (unknown) }} | + | | width="50%" style="text-align:center;" | {{ |
+ | #if: {{{discoveredby|}}} | | ||
+ | [[discovered by::{{{discoveredby}}}|{{{discoveredby}}}]] | | ||
+ | (unknown) | ||
+ | }} | ||
|- | |- | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovery date''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovery date''' | ||
− | | width="50%" style="text-align:center;" | {{#if: {{{discodate|}}} | [[discovery date::{{{discodate}}}|{{{discodate}}}]] | (unknown) }} | + | | width="50%" style="text-align:center;" | {{ |
+ | #if: {{{discodate|}}} | | ||
+ | [[discovery date::{{{discodate}}}|{{{discodate}}}]] | | ||
+ | (unknown) | ||
+ | }} | ||
|- | |- | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovery location''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Discovery location''' | ||
− | | width="50%" style="text-align:center;" | {{#if:{{{discoregion|}}} | [[{{{discoregion|(unknown)}}}]], [[located on::{{{island}}}|{{{island}}}]] | {{#if: {{{island|}}} | [[located on::{{{island}}}|{{{island}}}]] | (unknown) }} }} | + | | width="50%" style="text-align:center;" | {{ |
+ | #if: {{{discoregion|}}} | | ||
+ | [[{{{discoregion|(unknown)}}}]], [[located on::{{{island}}}|{{{island}}}]] | {{ | ||
+ | #if: {{{island|}}} | | ||
+ | [[located on::{{{island}}}|{{{island}}}]] | | ||
+ | (unknown) | ||
+ | }} | ||
+ | }} | ||
|- | |- | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Abilities''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Abilities''' | ||
− | | width="50%" style="text-align:center;" | {{#if: {{{prestige|}}} | Prestige +[[prestige::{{{prestige}}}|{{{prestige}}}]] {{#if:{{{abilities|}}}|<br>[[abilities::{{{abilities}}}|{{{abilities}}}]]|}} | {{#if:{{{abilities|}}}|[[abilities::{{{abilities}}}|{{{abilities}}}]]| (unknown) }} }} | + | | width="50%" style="text-align:center;" | {{ |
+ | #if: {{{prestige|}}} | | ||
+ | Prestige +[[prestige::{{{prestige}}}|{{{prestige}}}]] {{ | ||
+ | #if: {{{abilities|}}} | | ||
+ | <br>[[abilities::{{{abilities}}}|{{{abilities}}}]] | | ||
+ | |||
+ | }} | {{ | ||
+ | #if: {{{abilities|}}} | | ||
+ | [[abilities::{{{abilities}}}|{{{abilities}}}]] | | ||
+ | (unknown) | ||
+ | }} | ||
+ | }} | ||
|- | |- | ||
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Current Owner''' | | width="50%" style="background: lightsteelblue; text-align: center;" | '''Current Owner''' | ||
− | | width="50%" style="text-align:center;" | {{#if:{{{owner|}}} | [[owner::{{{owner}}}|{{{owner}}}]] | (unknown) }} | + | | width="50%" style="text-align:center;" | {{ |
+ | #if: {{{owner|}}} | | ||
+ | [[owner::{{{owner}}}|{{{owner}}}]] | | ||
+ | (unknown) | ||
+ | }} | ||
|} | |} | ||
− | {{#if:{{{type|}}} | [[Category:{{{type}}} (unique)]] | }} | + | {{ |
+ | #if: {{{type|}}} | | ||
+ | [[Category:{{{type}}} (unique)]] | | ||
+ | }} | ||
</includeonly> | </includeonly> | ||
− | <noinclude>{{SemanticCodes}}{{Documentation}}</noinclude> | + | <noinclude> |
+ | {{SemanticCodes}} | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
Revision as of 02:06, 23 September 2019
Semantic Coded Template |
This template contains semantic coding. Do not use this template for anything other than its intended purpose. |
Template Documentation |
This documentation is transcluded from Template:Infobox Unique Item/doc. |
DescriptionThis infobox displays information related to unique items. The infobox should be added using the Infobox Unique Item template, as shown below: ParametersCopy and paste the following template onto your page. {{Infobox Unique Item |type= |discoveredby= |discodate= |discoregion= |island= |prestige= |abilities= |owner= }} Including this template will also automatically put the item into the "Unique Items" category. Parameter Descriptions
Notes
|