Modèle:Fiche PNJ : Différence entre versions

De Wiki'speria
Aller à : navigation, rechercher
(Nouvelle Image par Défaut:))
 
(22 révisions intermédiaires par 9 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<noinclude>
+
<includeonly><table id="ficheperso", class="infobox">
Utilisation :
 
Ajoutez ce code en premier dans votre fiche de personnage :
 
<div class="quote"><nowiki>{{</nowiki>Fiche PNJ<br/>
 
|Image=<br/>
 
|Nom= <br/>
 
|Sexe=<br/>
 
|Date_Naissance=<br/>
 
|Date_Décès=<br/>
 
|Famille1= (Famille de naissance)<br/>
 
|Famille2= (Famille rejointe par alliance)<br/>
 
|Père= <br/>
 
|Mère= <br/>
 
|Conjoint= <br/>
 
|Enfant1= <br/>
 
|EnfantXXX= (où XXX de 1 à 12)<br/>
 
|Enfant12= <br/>
 
|Rang=<br/>
 
|Fonction=<br/>
 
|Faction=<br/>
 
|Religion=<br/>
 
|Ville_Résidence=<br/>
 
|Ville_Origine=<br/>
 
|Région_Origine=<br/>
 
|Nation_Origine=<br/>
 
|Couleur= (En hexadécimal en commencant par #)<br/>
 
<nowiki>}}</nowiki></div>
 
</noinclude>
 
<includeonly><table id="ficheperso" style="background: none repeat scroll 0 0 #F9F9F9; border: 1px solid #AAAAAA; clear: right; color: #000000; float: right; font-size: 90%; line-height: 1.1em; margin: 0 0 0.5em 1em; padding: 0.1em; width: 210px;">
 
{{#if:{{{Image|}}}|
 
 
<tr>
 
<tr>
 
<td align="center" colspan="2">
 
<td align="center" colspan="2">
{{#ifexist: Fichier:Personnage {{{Image|par Defaut.png}}} | [[Fichier:Personnage {{{Image|par Defaut.png}}}|200px|{{{Nom}}}]]|}}
+
[[Fichier:PNJ {{{Image|Silhouette.png}}}|200px|{{{Nom}}}]]
 
</td>
 
</td>
</tr>|}}
+
</tr>
 
<tr>
 
<tr>
 
<td align="center" colspan="2" style="text-align:center;background-color:{{#if:{{{Couleur|}}}|{{{Couleur}}}|#dfd}};color:#000000">'''Informations'''</td>
 
<td align="center" colspan="2" style="text-align:center;background-color:{{#if:{{{Couleur|}}}|{{{Couleur}}}|#dfd}};color:#000000">'''Informations'''</td>
Ligne 62 : Ligne 33 :
 
</tr>
 
</tr>
 
<tr>
 
<tr>
{{#if:{{{Famille|}}}|
+
{{#if:{{{Famille1|}}}|
 
<tr>
 
<tr>
<th align="left" scope="row">Famille</th>
+
<th align="left" scope="row">Famille de naissance</th>
<td align="left">{{{Famille}}}</td>
+
<td align="left">{{{Famille1}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Famille2|}}}|
 +
<tr>
 +
<th align="left" scope="row">Famille rejointe par alliance</th>
 +
<td align="left">{{{Famille2}}}</td>
 
</tr>|}}
 
</tr>|}}
 
{{#if:{{{Père|}}}|
 
{{#if:{{{Père|}}}|
Ligne 152 : Ligne 128 :
 
<td align="left">{{{Rang}}}</td>
 
<td align="left">{{{Rang}}}</td>
 
</tr>|}}
 
</tr>|}}
{{#if:{{{Fonction|}}}|
+
{{#if:{{{Fonction1|}}}|
 +
<tr>
 +
<th align="left" scope="row">Fonction{{#if:{{{Fonction2|}}}|s|}}</th>
 +
<td align="left">{{{Fonction1}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Fonction2|}}}|
 
<tr>
 
<tr>
<th align="left" scope="row">Fonction</th>
+
<th align="left" scope="row"></th>
<td align="left">[[{{{Fonction}}}]]</td>
+
<td align="left">{{{Fonction2}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Fonction3|}}}|
 +
<tr>
 +
<th align="left" scope="row"></th>
 +
<td align="left">{{{Fonction3}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Fonction4|}}}|
 +
<tr>
 +
<th align="left" scope="row"></th>
 +
<td align="left">{{{Fonction4}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Fonction5|}}}|
 +
<tr>
 +
<th align="left" scope="row"></th>
 +
<td align="left">{{{Fonction5}}}</td>
 +
</tr>|}}
 +
{{#if:{{{Fonction6|}}}|
 +
<tr>
 +
<th align="left" scope="row"></th>
 +
<td align="left">{{{Fonction6}}}</td>
 
</tr>|}}
 
</tr>|}}
 
{{#if:{{{Faction1|}}}|
 
{{#if:{{{Faction1|}}}|
Ligne 219 : Ligne 220 :
 
|}}
 
|}}
 
</table>
 
</table>
[[Category:PNJ]]
+
[[Catégorie:PNJ de l'Ancien Monde]]
{{#if:{{{Ville_Résidence|}}}|[[Category:Ville_Résidence:{{{Ville_Résidence}}}]]|}}
+
</includeonly><noinclude><!--
{{#if:{{{Ville_Origine|}}}|[[Category:Ville_Origine:{{{Ville_Origine}}}]]|}}
+
----------------------------
{{#if:{{{Région_Origine|}}}|[[Category:Région_Origine:{{{Région_Origine}}}]]|}}
+
EXPLICATION POUR LES JOUEURS
{{#if:{{{Nation_Origine|}}}|[[Category:Nation_Origine:{{{Nation_Origine}}}]]|}}
+
----------------------------
</includeonly>
+
-->'''Template à utiliser sur les pages de PNJ''' <br/>
 +
<pre>
 +
{{Fiche PNJ
 +
|Image=
 +
|Nom=
 +
|Sexe= (Homme, Femme, Asexué)
 +
|Date_Naissance=
 +
|Date_Décès=
 +
|Famille1= <Famille de naissance>
 +
|Famille2= <Famille rejointe par alliance>
 +
|Père=
 +
|Mère=
 +
|Conjoint=
 +
|Enfant1=
 +
|Enfant2=
 +
|Enfant3=
 +
|Rang=
 +
|Fonction1=
 +
|Fonction2=
 +
|Faction1=
 +
|Faction2=
 +
|Religion=
 +
|Ville_Résidence=
 +
|Ville_Origine=
 +
|Région_Origine=
 +
|Nation_Origine=
 +
|Couleur= (En hexadécimal en commençant par #, voir les indications ci-dessous)
 +
}}
 +
</pre>
 +
 
 +
<blockquote>
 +
* '''Caroggian''' : #FADA5E
 +
* '''Qadjaride''' : #CFA0E9
 +
* '''Capitalin''' : #E34234
 +
* '''Hura''' : #A76726
 +
* '''Canatanais''' : #87E990
 +
* '''Adaarion''' : #77B5FE
 +
* '''Tribu Vaahvas''' : #CCD4DD
 +
</blockquote>
 +
 
 +
[[Category:Modèle]]</noinclude>

Version actuelle datée du 24 juin 2023 à 17:26

Template à utiliser sur les pages de PNJ

{{Fiche PNJ
|Image=
|Nom=
|Sexe= (Homme, Femme, Asexué)
|Date_Naissance=
|Date_Décès=
|Famille1= <Famille de naissance>
|Famille2= <Famille rejointe par alliance>
|Père=
|Mère=
|Conjoint=
|Enfant1=
|Enfant2=
|Enfant3=
|Rang=
|Fonction1=
|Fonction2=
|Faction1=
|Faction2=
|Religion=
|Ville_Résidence=
|Ville_Origine=
|Région_Origine=
|Nation_Origine=
|Couleur= (En hexadécimal en commençant par #, voir les indications ci-dessous)
}}
  • Caroggian : #FADA5E
  • Qadjaride : #CFA0E9
  • Capitalin : #E34234
  • Hura : #A76726
  • Canatanais : #87E990
  • Adaarion : #77B5FE
  • Tribu Vaahvas : #CCD4DD