Template:NPC Infobox: Difference between revisions
No edit summary |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;" | {| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;" | ||
|- | |- | ||
! colspan="2" style="background-color: # | ! colspan="2" style="background-color: #4a668d; color: #ffffff; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}| | ! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|300px]] }} | ||
|- | |- | ||
! colspan="2" style="background-color: # | ! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information | ||
|- | |- | ||
{{#if: {{{Type|}}}| | {{#if: {{{Type|}}}| | ||
Line 17: | Line 17: | ||
{{#if: {{{Faction|}}}| | {{#if: {{{Faction|}}}| | ||
{{!}} '''Faction''' | {{!}} '''Faction''' | ||
{{!}} {{{Faction|}}} }} | {{!}} [[{{{Faction|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Location|}}}| | {{#if: {{{Location|}}}| | ||
Line 24: | Line 24: | ||
|- | |- | ||
{{#if: {{{Planet|}}}| | {{#if: {{{Planet|}}}| | ||
{{!}} '''Planet''' | {{!}} '''Planet/Moon''' | ||
{{!}} {{{Planet|}}} }} | {{!}} [[{{{Planet|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Moon|}}}| | {{#if: {{{Moon|}}}| | ||
{{!}} '''Moon''' | {{!}} '''Moon''' | ||
{{!}} {{{Moon|}}} }} | {{!}} [[{{{Moon|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Moon of|}}}| | {{#if: {{{Moon of|}}}| | ||
{{!}} '''Moon of''' | {{!}} '''Moon of''' | ||
{{!}} {{{Moon of|}}} }} | {{!}} [[{{{Moon of|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Star System|}}}| | {{#if: {{{Star System|}}}| | ||
{{!}} '''Star Systemn''' | {{!}} '''Star Systemn''' | ||
{{!}} {{{Star System|}}} }} | {{!}} [[{{{Star System|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Description|}}}| | {{#if: {{{Description|}}}| | ||
Line 46: | Line 46: | ||
{{!}} '''Missions''' | {{!}} '''Missions''' | ||
{{!}} {{{Missions|}}} }} | {{!}} {{{Missions|}}} }} | ||
|- | |||
{{#if: {{{Number of Items for Sale|}}}| | |||
{{!}} '''Number of Items for Sale''' | |||
{{!}} {{{Number of Items for Sale|}}} }} | |||
|- | |||
{{#if: {{{Types of Items for Sale|}}}| | |||
{{!}} '''Types of Items for Sale''' | |||
{{!}} {{#arraymap:{{{Types of Items for Sale|}}}|,|x|[[Types of Items for Sale::x]]}} }} | |||
|- | |- | ||
{{#if: {{{Patch|}}}| | {{#if: {{{Patch|}}}| | ||
Line 52: | Line 60: | ||
|- | |- | ||
|} | |} | ||
<includeonly>'''{{{Name|}}}''' is a [[{{{Type|}}}]] [[NPC]]. [[Category:NPCs|{{PAGENAME}}]] [[Category:{{{Type|}}}|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Subtype={{{Subtype|}}} |+sep}} {{#set:Faction={{{Faction|}}} }} {{#set:Location={{{Location|}}} }} {{#set:Planet={{{Planet|}}} }} {{#set:Moon={{{Moon|}}} }} {{#set:Moon of={{{Moon of|}}} }} {{#set:Star System={{{Star System|}}} }} {{#set:Description={{{Description|}}} }} {{#set:Missions={{{Missions|}}} |+sep}} {{#set:Patch={{{Patch|}}} }}</includeonly> | <includeonly>'''{{{Name|}}}''' is a [[{{{Type|}}}]] [[NPC]]. [[Category:NPCs|{{PAGENAME}}]] [[Category:{{{Type|}}}|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Subtype={{{Subtype|}}} |+sep}} {{#set:Faction={{{Faction|}}} }} {{#set:Location={{{Location|}}} }} {{#set:Planet={{{Planet|}}} }} {{#set:Moon={{{Moon|}}} }} {{#set:Moon of={{{Moon of|}}} }} {{#set:Star System={{{Star System|}}} }} {{#set:Description={{{Description|}}} }} {{#set:Missions={{{Missions|}}} |+sep}} {{#set:Number of Items for Sale={{{Number of Items for Sale|}}} }} {{#set:Types of Items for Sale={{{Types of Items for Sale|}}} |+sep}} {{#set:Patch={{{Patch|}}} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Designed for use on [[NPC]] pages. | Designed for use on [[NPC]] pages. | ||
Line 71: | Line 79: | ||
|Description = | |Description = | ||
|Missions = | |Missions = | ||
|Number of Items for Sale = | |||
|Types of Items for Sale = | |||
|Patch = | |Patch = | ||
}} | }} |
Latest revision as of 09:10, 8 September 2023
NPC Infobox | |
---|---|
Information |
Designed for use on NPC pages.
Usage
{{NPC Infobox |Image = |Name = |Type = |Subtype = |Faction = |Location = |Planet = |Moon = |Moon of = |Star System = |Description = |Missions = |Number of Items for Sale = |Types of Items for Sale = |Patch = }}
Parameters