Difference between revisions of "Template:Clan infobox"

From MyFallen Gaming Community
Jump to navigation Jump to search
m (Reverted edits by Eaglefrost (talk) to last revision by [[User:imported>Eaglefrost123|imported>Eaglefrost123]])
Tag: Rollback
Line 1: Line 1:
{{Clan infobox
+
<infobox layout = "stacked">
|name = {{{name|{{PAGENAME}}}}}
+
    <title source="name"><default>{{PAGENAME}}</default></title>
|abovestyle =  
+
 
|above = {{PAGENAME}}
+
    <image source="icon"></image>
|image = {{ #switch: {{lc:{{{name|}}} }}
+
    <group collapse="open">
  |meadowclan = background-color:#e9f9d2;
+
        <header>Maps</header>
  |driftclan = background-color:#ffffe0;
+
        <image source="map"></image>
  |eclipseclan = background-color:#ffffe0;
+
        <image source="territory"></image>
  |torrentclan = background-color:#f9e2d2;
+
        <image source="camp"></image>
  |sleetclan = background-color:#d2d5f9;
+
    </group>
  }}
+
 
 +
 
 +
    <group>
 +
        <header>Clan Information</header>
 +
        <data source="founder"><label>Founder</label></data>
 +
        <data source="leader"><label>Current Leader</label></data>
 +
        <data source="medicinecat"><label>Medicine Cat</label></data>
 +
        <data source="religion"><label>Belief</label></data>
 +
        <data source="terrain"><label>Favored Terrain</label></data>
 +
    </group>
 +
 
 +
    <group>
 +
        <header>Skirmish Spots</header>
 +
        <data source="control"><label>Controlled</label></data>
 +
        <data source="shared"><label>Shared</label></data>
 +
        <data source="contest"><label>Contested</label></data>
 +
        <data source="uncontest"><label>Uncontested</label></data>
 +
    </group>
 +
 
 +
    <group>
 +
        <header>Herbs & Animals</header>
 +
        <data source="herb"><label>Herbs</label></data>
 +
        <data source="prey"><label>Prey</label></data>
 +
        <data source="predator"><label>Predators</label></data>
 +
    </group>
 +
</infobox>
 +
 
 +
==Usage==
 +
<pre>
 +
{{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]])
 
}}
 
}}
 +
</pre>
 +
==Example==
 +
{{clan infobox
 +
    |name = DriftClan
 +
    |icon = dc.jpg
 +
    |map = dc_map.jpg
 +
    |territory = dc_territory.jpg
 +
    |camp = dc_camp.jpg
 +
    |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
 +
}}<pre>
 +
{{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
 +
}}
 +
</pre>

Revision as of 08:17, 6 January 2020

<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

}}