Template:Clan infobox

From MyFallen Gaming Community
Revision as of 08:46, 31 December 2019 by imported>Eaglefrost123
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<infobox layout = "stacked">

   <title source="name"><default>Clan infobox</default></title>
   <image source="icon"></image>
   <group collapse="open">
       <header>Maps</header>
       <image source="map"></image>
       <image source="territory"></image>
       <image source="camp"></image>
   </group>


   <group>
       <header>Clan Information</header>
       <label>Founder</label>
       <label>Current Leader</label>
       <label>Medicine Cat</label>
       <label>Belief</label>
       <label>Favored Terrain</label>
   </group>
   <group>
       <header>Skirmish Spots</header>
       <label>Controlled</label>
       <label>Shared</label>
       <label>Contested</label>
       <label>Uncontested</label>
   </group>
   <group>
       <header>Herbs & Animals</header>
       <label>Herbs</label>
       <label>Prey</label>
       <label>Predators</label>
   </group>

</infobox>

Usage

{{Clan
    |accent-color = the hexidecimal value of the clan color (e.g. #FFD400)
    |name = name of the Clan, will default to PAGENAME (e.g. DriftClan)
    |icon = clan icon, claninitials.jpg (e.g. dc.jpg)
    |map = location of clan on a map of the clans, claninitials_map.jpg (e.g. dc_map.jpg)
    |territory = map of the clan's territory, claninitials_territory.jpg (e.g. dc_territory.jpg)
    |camp = map of the clan's camp, claninitials_camp.jpg (e.g. dc_camp.jpg)
    |founder = name of founder, if applicable (e.g. [[Thunderstar]])
    |leader = current leader, if applicable (e.g. [[Batstar]])
    |medicinecat = current medicine cat, if applicable (e.g. [[Darkpaw]])
    |religion = beliefs of Clan, if applicable (e.g. [[LightClan]])
    |terrain = Clan's preferred terrain (e.g. [[Mountains]])
    |control = names of controlled skirmish spots, if applicable (e.g. [[The Valley]])
    |shared = names of shared skirmish spots, if applicable (e.g. [[Basking Rocks]])
    |contested = names of contested skirmish spots, if applicable (e.g. [[The Tree Bridge]])
    |uncontrol = names of skirmish spots not controlled by Clan, if applicable (e.g. [[Thistlecloud's Rock]])
    |herb = names of herbs in the Clan's territory, including skirmish spots and common herbs (e.g. [[Burdock Root, Dock, Poppy Seeds, Cobwebs, Sticks, Honey]])
    |prey = names of common types of prey (e.g. [[Mice, Small Birds, Rabbits]])
    |predator = names of predators in the territory (e.g. [[Mountain Lions]])
}}

Example

<infobox layout = "stacked">

   <title source="name"><default>Clan infobox</default></title>
   <image source="icon"></image>
   <group collapse="open">
       <header>Maps</header>
       <image source="map"></image>
       <image source="territory"></image>
       <image source="camp"></image>
   </group>


   <group>
       <header>Clan Information</header>
       <label>Founder</label>
       <label>Current Leader</label>
       <label>Medicine Cat</label>
       <label>Belief</label>
       <label>Favored Terrain</label>
   </group>
   <group>
       <header>Skirmish Spots</header>
       <label>Controlled</label>
       <label>Shared</label>
       <label>Contested</label>
       <label>Uncontested</label>
   </group>
   <group>
       <header>Herbs & Animals</header>
       <label>Herbs</label>
       <label>Prey</label>
       <label>Predators</label>
   </group>

</infobox>

Usage

{{Clan
    |accent-color = the hexidecimal value of the clan color (e.g. #FFD400)
    |name = name of the Clan, will default to PAGENAME (e.g. DriftClan)
    |icon = clan icon, claninitials.jpg (e.g. dc.jpg)
    |map = location of clan on a map of the clans, claninitials_map.jpg (e.g. dc_map.jpg)
    |territory = map of the clan's territory, claninitials_territory.jpg (e.g. dc_territory.jpg)
    |camp = map of the clan's camp, claninitials_camp.jpg (e.g. dc_camp.jpg)
    |founder = name of founder, if applicable (e.g. [[Thunderstar]])
    |leader = current leader, if applicable (e.g. [[Batstar]])
    |medicinecat = current medicine cat, if applicable (e.g. [[Darkpaw]])
    |religion = beliefs of Clan, if applicable (e.g. [[LightClan]])
    |terrain = Clan's preferred terrain (e.g. [[Mountains]])
    |control = names of controlled skirmish spots, if applicable (e.g. [[The Valley]])
    |shared = names of shared skirmish spots, if applicable (e.g. [[Basking Rocks]])
    |contested = names of contested skirmish spots, if applicable (e.g. [[The Tree Bridge]])
    |uncontrol = names of skirmish spots not controlled by Clan, if applicable (e.g. [[Thistlecloud's Rock]])
    |herb = names of herbs in the Clan's territory, including skirmish spots and common herbs (e.g. [[Burdock Root, Dock, Poppy Seeds, Cobwebs, Sticks, Honey]])
    |prey = names of common types of prey (e.g. [[Mice, Small Birds, Rabbits]])
    |predator = names of predators in the territory (e.g. [[Mountain Lions]])
}}

Example

Template loop detected: Template:Clan infobox

{{clan infobox
    |name = DriftClan
    |founder = Thunderstar
    |leader = Batstar
    |medicinecat = Darkpaw
    |religion = LightClan
    |terrain = Mountains
    |control = The Valley
    |shared = Basking Rocks
    |contested = The Tree Bridge
    |uncontrol = Thistlecloud's Rock
    |herb = Burdock Root, Dock, Poppy Seeds, Cobwebs, Sticks, Honey]
    |prey = Mice, Small Birds, Rabbits
    |predator = Mountain Lions
}}

{{clan infobox

   |name = DriftClan
   |founder = Thunderstar
   |leader = Batstar
   |medicinecat = Darkpaw
   |religion = LightClan
   |terrain = Mountains
   |control = The Valley
   |shared = Basking Rocks
   |contested = The Tree Bridge
   |uncontrol = Thistlecloud's Rock
   |herb = Burdock Root, Dock, Poppy Seeds, Cobwebs, Sticks, Honey]
   |prey = Mice, Small Birds, Rabbits
   |predator = Mountain Lions

}}