Template:Infobox group: Difference between revisions

From fattwiki
TwilightMirageWiki>AlastairCodd
(Fixed Usage)
mNo edit summary
Tag: 2017 source edit
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<infobox>
<infobox theme-source="color_theme">
   <title source="title1">
   <title source="title">
     <default>{{PAGENAME}}</default>
     <default>{{PAGENAME}}</default>
   </title>
   </title>
   <image source="image1">
   <image source="image">
     <caption source="caption1"/>
     <caption source="caption"/>
   </image>
   </image>
   <data source="focus">
   <data source="aliases">
     <label>Focus</label>
     <label>Aliases</label>
  </data>
  <data source="leaders">
    <label>Leaders</label>
   </data>
   </data>
   <data source="members">
   <data source="members">
     <label>Members</label>
     <label>Members</label>
   </data>
   </data>
   <data source="location">
   <data source="area_of_operation">
     <label>Location</label>
     <label>Area of Operation</label>
  </data>
  <data source="status">
    <label>Status</label>
  </data>
  <data source="first_appearance">
    <label>First Appearance</label>
   </data>
   </data>
   <data source="appearances">
   <data source="affiliations">
     <label>Appearances</label>
     <label>Affiliations</label>
   </data>
   </data>
</infobox>
  <group collapse="open">
    <header>Meta</header>
    <data source="season">
      <label>Season</label>
    </data>
    <data source="game">
      <label>Game</label>
    </data>
    <data source="players">
      <label>Players</label>
    </data>
    <data source="debut">
      <label>Debut</label>
    </data>
  </group>
</infobox><!--
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}
<noinclude>
<noinclude>
Example usage:<pre>
{{Documentation}}
{{Infobox Faction
[[Category:Infoboxes]]
|title1=Example
|image1=Example
|caption1=Example
|focus=Example
|members=Example
|location=Example
|status=Example
|first_appearance=Example
|appearances=Example
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 20:53, 3 November 2023

Usage example[edit source]

{{Infobox Group
| color_theme = cw
| title = Example
| aliases = Example
| leaders = Example
| members = Example
| area_of_operation = Example
| affiliations = Example
| season = Example
| debut = Example
}}

TemplateData[edit source]

This is the TemplateData for this template. It is used by the Visual Editor and other tools.

No description.

Template parameters

ParameterDescriptionTypeStatus
Color themecolor_theme

The name of the color theme you want this infobox to use. For a list of valid names, see [[Fatt Wiki:Getting Started]

Default
Default gold of the rest of the wiki layout
Example
pzn
Stringoptional
Titletitle

Title at the top of the infobox

Default
Uses the page title
Example
The Chime
Contentsuggested
Imageimage

no description

Filedeprecated
Image captioncaption

no description

Linedeprecated
Aliasesaliases

Aliases that are used for this group

Contentoptional
Leadersleaders

Group leaders, where relevant

Example
Gur Sevraq
Unknownoptional
Membersmembers

Notable members of this group

Example
Zaktrak
Contentoptional
Area of operationarea_of_operation

Location where this group is active

Example
Marielda
Contentoptional
Affiliationsaffiliations

Other groups/people this group is connected to

Contentoptional
Seasonseason

no description

Example
Spring in Hieron
Contentoptional
Debutdebut

Episode of first appearance.

Unknownoptional