Modèle:TribeInfoBox : Différence entre versions

De EncyclopAtys

m
 
(Description)
 
(13 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><table class="infobox_v2" style="width: 260px;" cellspacing="9">
+
{| class="infobox"
<tr><td colspan="2" class="entete avant-poste" style="background-color:rgb(123,185,209);">'''''{{{nom}}}'''''</td></tr>
+
|-
{{#if:{{{image|}}}|
+
! align="centre" colspan="2" style="background: #FFCC66; padding: 2px;" | <font color="#111133">Tribus d'Atys</font>
<tr><td colspan="2" style="padding:3px; text-align:center; line-height:1.4em; font-size:94%;">[[Image:{{{image}}}|300px|{{nom}}]]</td></tr>
+
|-
<tr><td colspan="2"><hr /></td></tr>
+
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|Camp {{PAGENAME}}]] }}
|[[Catégorie:Article à illustrer/Tribu]]}}
+
|-
{{#if:{{{blason|}}}|
+
!align="centre" colspan="2" style="background: #FFCC66; padding: 7px;" | <font color="#111133">{{PAGENAME}}</font>
<tr><th scope=row>Blason</th><td>
+
|-
{{{blason}}}</td></tr>
+
|
}}{{#if:{{{continent|}}}|
+
|-
<tr><th scope=row>Continent</th><td>
+
!align="center" style="background: #FFCC66; padding-left:5px;padding-right:5px;" | <font color="#111133">'''Race(s):'''</font>
{{{continent}}}</td></tr>
+
!align="center" | '''{{{races}}}'''
}}{{#if:{{{région|}}}|
+
|-
<tr><th scope=row>Région</th><td>
+
!align="center" style="background: #FFCC66; padding-left:5px;padding-right:5px;" | <font color="#111133">'''Religion:'''</font>
{{{région}}}</td></tr>
+
!align="center" | '''{{{cult}}}'''
}}{{#if:{{{composition|}}}|
+
|-
<tr><th scope=row>Composition</th><td>
+
!align="center" style="background: #FFCC66; padding-left:5px;padding-right:5px;"| <font color="#111133">'''Emplacement:'''</font>
{{{composition}}}</td></tr>
+
!align="center" | '''{{{camp}}}''' {{#if: {{{maplink|}}} | ([{{{maplink}}} carte]) }}
}}{{#if:{{{faction|}}}|
+
! {{#if: {{{caton|}}} | [[Category: Tribus]]}}
<tr><th scope=row>Faction</th><td>
+
|}<!--
{{{faction}}}</td></tr>
+
 
}}{{#if:{{{alliés|}}}|
+
--><noinclude>{{Clear}}
<tr><th scope=row>Alliés</th><td>
+
==Description==
{{{alliés}}}</td></tr>
+
 
}}{{#if:{{{ennemis|}}}|
+
<pre>
<tr><th scope=row>Ennemis</th><td>
+
{{TribeInfoBox
{{{ennemis}}}</td></tr>
+
|image=<Filename>
}}
+
|name={{PAGENAME}}  
</table></includeonly>
+
|races=<Racial info>
<noinclude>
+
|cult=<Kami or Karavan>
{{TribuInfoBox/Documentation}}</noinclude>
+
|camp=<Camp location>
 +
|caton=y (OPTIONAL)
 +
|}}
 +
</pre>
 +
 
 +
Note: For the tribe name {{[[:modèle:TribeInfoBox|TribeInfoBox]]}} will suffice in almost all cases.<br>
 +
NB: If caton=y is present then the page the template is used on will be added to [[:Category:Tribus]]
 +
 
 +
See also the French Infobox  {{[[:modèle:TribuInfoBox|TribuInfoBox]]}}
 +
 
 +
==Example==
 +
 
 +
{{TribuInfoBox
 +
|image=Icon_worshippers.png
 +
|name=Adorateurs des singes
 +
|races=Zoraï
 +
|cult=Kami
 +
|camp=Cities of Intuition
 +
|}}
 +
 
 +
[[Catégorie:Modèle:Infobox]]
 +
</noinclude>

Version actuelle datée du 20 octobre 2015 à 11:54

Tribus d'Atys
TribeInfoBox
Race(s): {{{races}}}
Religion: {{{cult}}}
Emplacement: {{{camp}}}

Description

{{TribeInfoBox
|image=<Filename>
|name={{PAGENAME}} 
|races=<Racial info>
|cult=<Kami or Karavan>
|camp=<Camp location>
|caton=y (OPTIONAL)
|}}

Note: For the tribe name {{TribeInfoBox}} will suffice in almost all cases.
NB: If caton=y is present then the page the template is used on will be added to Category:Tribus

See also the French Infobox {{TribuInfoBox}}

Example

[[Image:{{{blason}}}|64px|top|left|{{{desc}}}]]{{{nom}}}
Continent
Vue du camp principal
Composition
Faction
Alliés
Ennemis