Template:Clan Infobox: Difference between revisions

From Galaxypedia
imported>FshBot
m (→‎top: removed from a deleted category)
(overhaul)
Tag: 2017 source edit
Line 1: Line 1:
<infobox>
<infobox>
   <title source="title1"/>
   <title source="title"><default>{{PAGENAME}}</default></title>
   <image source="image1">
 
    <caption source="caption1"/>
   <image source="image" />
  </image>
 
   <group>
   <group>
    <header>Basic Information</header>
     <data source="founded"><label>Founded</label></data>
     <data source="founded">
     <data source="owners"><label>Owner(s)</label></data>
      <label>Founded</label>
     <data source="members"><label>Members</label></data>
    </data>
     <data source="flagship"><label>Flagship</label></data>
     <data source="age">
     <data source="status"><label>Status</label></data>
      <label>Age</label>
    </data>
  </group>
  <group collapse="open">
    <header>Other Information</header>
     <data source="members">
      <label>Members</label>
    </data>
     <data source="fleet">
      <label>Fleet</label>
    </data>
     <data source="flagship">
      <label>Flagship</label>
    </data>
   </group>
   </group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
<templatedata>
{{Faction Infobox
{
|title1=Example
"params": {
|image1=Example
"title": {
|caption1=Example
"default": "{{PAGENAME}}"
|founded=Example
},
|age=Example
"founded": {
|members=Example
"type": "date"
|fleet=Example
},
|flagship=Example
"owners": {
}}
"type": "string"
</pre>
},
"members": {
"type": "number"
},
"image": {
"type": "wiki-file-name"
},
"flagship": {
"type": "wiki-page-name"
},
"status": {
"description": "Is the group still active? Possible Values: Active, Inactive, Disbanded",
"type": "line"
}
},
"description": "Faction infobox",
"format": "block",
"paramOrder": [
"title",
"image",
"founded",
"owners",
"members",
"flagship",
"status"
]
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 01:52, 3 September 2022


Faction infobox

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

no description

Default
{{PAGENAME}}
Unknownoptional
imageimage

no description

Fileoptional
foundedfounded

no description

Dateoptional
ownersowners

no description

Stringoptional
membersmembers

no description

Numberoptional
flagshipflagship

no description

Page nameoptional
statusstatus

Is the group still active? Possible Values: Active, Inactive, Disbanded

Lineoptional