« Modèle:HomonculeNL » : différence entre les versions

De Nephilim Wiki
 
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* ============================================================
<includeonly><!-- ============================================ -->
  ÉTAPE 1 — CORPS DE TEXTE DES ARTICLES
<!-- Modèle:HomonculeNL                          -->
  À AJOUTER à la fin de MediaWiki:Common.css (ne rien modifier)
<!-- Sous-modèle inséré dans FichePNJNL          -->
 
<!-- Génère des lignes de tableau ({{!}}-)        -->
  Police : Source Sans 3 (Google Fonts)
<!-- ============================================ -->
  Prérequis : ajouter à la ligne @import existante (voir ci-dessous)
{{!}} colspan="2" class="bandeau-pnj" {{!}} Homoncule
  ============================================================ */
{{!-}}
! style="vertical-align:top; padding:.4em .3em;" {{!}} Homoncule
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_nom|}}}|'''{{{homon_nom}}}'''|}}{{#if:{{{homon_type|}}}|{{#if:{{{homon_nom|}}}|<br />|}}{{{homon_type}}}{{#if:{{{homon_sous_type|}}}|&nbsp;({{{homon_sous_type}}})}}{{#if:{{{homon_metamorphe|}}}|,&nbsp;{{{homon_metamorphe}}}|}}|}}
{{!-}}
{{#if:{{{homon_ka_feu|}}}{{{homon_ka_air|}}}{{{homon_ka_eau|}}}{{{homon_ka_terre|}}}{{{homon_ka_lune|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Pentacle
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_ka_feu|}}}|<span style="color:#C0524E;">&#x25C6;</span>&nbsp;Feu '''{{{homon_ka_feu}}}'''|}}{{#if:{{{homon_ka_air|}}}|{{#if:{{{homon_ka_feu|}}}|&nbsp;&bull;&nbsp;|}}<span style="color:#5BA4D9;">&#x25C6;</span>&nbsp;Air '''{{{homon_ka_air}}}'''|}}{{#if:{{{homon_ka_eau|}}}|{{#if:{{{homon_ka_feu|}}}{{{homon_ka_air|}}}|&nbsp;&bull;&nbsp;|}}<span style="color:#3B6FA0;">&#x25C6;</span>&nbsp;Eau '''{{{homon_ka_eau}}}'''|}}{{#if:{{{homon_ka_terre|}}}|{{#if:{{{homon_ka_feu|}}}{{{homon_ka_air|}}}{{{homon_ka_eau|}}}|&nbsp;&bull;&nbsp;|}}<span style="color:#4A9A6A;">&#x25C6;</span>&nbsp;Terre '''{{{homon_ka_terre}}}'''|}}{{#if:{{{homon_ka_lune|}}}|{{#if:{{{homon_ka_feu|}}}{{{homon_ka_air|}}}{{{homon_ka_eau|}}}{{{homon_ka_terre|}}}|&nbsp;&bull;&nbsp;|}}<span style="color:#6B4E8A;">&#x25C6;</span>&nbsp;Lune '''{{{homon_ka_lune}}}'''|}}
{{!-}}
}}
{{#if:{{{homon_kln_noyau|}}}{{{homon_kln_reserve|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Ka-Lune Noire
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_kln_noyau|}}}|Noyau '''{{{homon_kln_noyau}}}'''|}}{{#if:{{{homon_kln_reserve|}}}|{{#if:{{{homon_kln_noyau|}}}|&nbsp;•&nbsp;|}}Réserve '''{{{homon_kln_reserve}}}'''|}}
{{!-}}
}}
{{#if:{{{homon_vecu_1|}}}{{{homon_vecu_2|}}}{{{homon_vecu_3|}}}{{{homon_vecu_4|}}}{{{homon_vecu_5|}}}{{{homon_vecu_6|}}}{{{homon_vecu_7|}}}{{{homon_vecu_8|}}}{{{homon_vecu_9|}}}{{{homon_vecu_10|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Vécus passés
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_vecu_1|}}}|{{#if:{{{homon_vecu_1_epoque|}}}|<span style="color:#666;">{{{homon_vecu_1_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_1}}}{{#if:{{{homon_vecu_1_degre|}}}|&nbsp;'''{{{homon_vecu_1_degre}}}'''|}}|}}{{#if:{{{homon_vecu_2|}}}|<br />{{#if:{{{homon_vecu_2_epoque|}}}|<span style="color:#666;">{{{homon_vecu_2_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_2}}}{{#if:{{{homon_vecu_2_degre|}}}|&nbsp;'''{{{homon_vecu_2_degre}}}'''|}}|}}{{#if:{{{homon_vecu_3|}}}|<br />{{#if:{{{homon_vecu_3_epoque|}}}|<span style="color:#666;">{{{homon_vecu_3_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_3}}}{{#if:{{{homon_vecu_3_degre|}}}|&nbsp;'''{{{homon_vecu_3_degre}}}'''|}}|}}{{#if:{{{homon_vecu_4|}}}|<br />{{#if:{{{homon_vecu_4_epoque|}}}|<span style="color:#666;">{{{homon_vecu_4_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_4}}}{{#if:{{{homon_vecu_4_degre|}}}|&nbsp;'''{{{homon_vecu_4_degre}}}'''|}}|}}{{#if:{{{homon_vecu_5|}}}|<br />{{#if:{{{homon_vecu_5_epoque|}}}|<span style="color:#666;">{{{homon_vecu_5_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_5}}}{{#if:{{{homon_vecu_5_degre|}}}|&nbsp;'''{{{homon_vecu_5_degre}}}'''|}}|}}{{#if:{{{homon_vecu_6|}}}|<br />{{#if:{{{homon_vecu_6_epoque|}}}|<span style="color:#666;">{{{homon_vecu_6_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_6}}}{{#if:{{{homon_vecu_6_degre|}}}|&nbsp;'''{{{homon_vecu_6_degre}}}'''|}}|}}{{#if:{{{homon_vecu_7|}}}|<br />{{#if:{{{homon_vecu_7_epoque|}}}|<span style="color:#666;">{{{homon_vecu_7_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_7}}}{{#if:{{{homon_vecu_7_degre|}}}|&nbsp;'''{{{homon_vecu_7_degre}}}'''|}}|}}{{#if:{{{homon_vecu_8|}}}|<br />{{#if:{{{homon_vecu_8_epoque|}}}|<span style="color:#666;">{{{homon_vecu_8_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_8}}}{{#if:{{{homon_vecu_8_degre|}}}|&nbsp;'''{{{homon_vecu_8_degre}}}'''|}}|}}{{#if:{{{homon_vecu_9|}}}|<br />{{#if:{{{homon_vecu_9_epoque|}}}|<span style="color:#666;">{{{homon_vecu_9_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_9}}}{{#if:{{{homon_vecu_9_degre|}}}|&nbsp;'''{{{homon_vecu_9_degre}}}'''|}}|}}{{#if:{{{homon_vecu_10|}}}|<br />{{#if:{{{homon_vecu_10_epoque|}}}|<span style="color:#666;">{{{homon_vecu_10_epoque}}}</span>&nbsp;:&nbsp;|}}{{{homon_vecu_10}}}{{#if:{{{homon_vecu_10_degre|}}}|&nbsp;'''{{{homon_vecu_10_degre}}}'''|}}|}}
{{!-}}
}}
{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}{{{homon_kabbale_malkuth|}}}{{{homon_oeuvre_noir|}}}{{{homon_necromancie|}}}{{{homon_kabbale_noire|}}}{{{homon_pavane|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Sc. occultes
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}|<span style="color:#666;">'''Magie''' :</span> {{#if:{{{homon_basse_magie|}}}|Basse&nbsp;'''{{{homon_basse_magie}}}'''|}}{{#if:{{{homon_haute_magie|}}}|{{#if:{{{homon_basse_magie|}}}|,&nbsp;|}}Haute&nbsp;'''{{{homon_haute_magie}}}'''|}}{{#if:{{{homon_grand_secret|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}|,&nbsp;|}}Gr.Secret&nbsp;'''{{{homon_grand_secret}}}'''|}}|}}{{#if:{{{homon_kabbale_malkuth|}}}{{{homon_kabbale_yesod|}}}{{{homon_kabbale_hod|}}}{{{homon_kabbale_netzach|}}}{{{homon_kabbale_tiphereth|}}}{{{homon_kabbale_geburah|}}}{{{homon_kabbale_chesed|}}}{{{homon_kabbale_binah|}}}{{{homon_kabbale_hochmah|}}}{{{homon_kabbale_kether|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}|<br />|}}<span style="color:#666;">'''Kabbale''' :</span> {{#if:{{{homon_kabbale_malkuth|}}}|Malkut&nbsp;'''{{{homon_kabbale_malkuth}}}'''|}}{{#if:{{{homon_kabbale_yesod|}}}|,&nbsp;Yesod&nbsp;'''{{{homon_kabbale_yesod}}}'''|}}{{#if:{{{homon_kabbale_hod|}}}|,&nbsp;Hod&nbsp;'''{{{homon_kabbale_hod}}}'''|}}{{#if:{{{homon_kabbale_netzach|}}}|,&nbsp;Netzach&nbsp;'''{{{homon_kabbale_netzach}}}'''|}}{{#if:{{{homon_kabbale_tiphereth|}}}|,&nbsp;Tiphereth&nbsp;'''{{{homon_kabbale_tiphereth}}}'''|}}{{#if:{{{homon_kabbale_geburah|}}}|,&nbsp;Geburah&nbsp;'''{{{homon_kabbale_geburah}}}'''|}}{{#if:{{{homon_kabbale_chesed|}}}|,&nbsp;Chesed&nbsp;'''{{{homon_kabbale_chesed}}}'''|}}{{#if:{{{homon_kabbale_binah|}}}|,&nbsp;Binah&nbsp;'''{{{homon_kabbale_binah}}}'''|}}{{#if:{{{homon_kabbale_hochmah|}}}|,&nbsp;Hochmah&nbsp;'''{{{homon_kabbale_hochmah}}}'''|}}{{#if:{{{homon_kabbale_kether|}}}|,&nbsp;Kether&nbsp;'''{{{homon_kabbale_kether}}}'''|}}|}}{{#if:{{{homon_oeuvre_noir|}}}{{{homon_oeuvre_blanc|}}}{{{homon_grand_oeuvre|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}{{{homon_kabbale_malkuth|}}}|<br />|}}<span style="color:#666;">'''Alchimie''' :</span> {{#if:{{{homon_oeuvre_noir|}}}|Noir&nbsp;'''{{{homon_oeuvre_noir}}}'''|}}{{#if:{{{homon_oeuvre_blanc|}}}|{{#if:{{{homon_oeuvre_noir|}}}|,&nbsp;|}}Blanc&nbsp;'''{{{homon_oeuvre_blanc}}}'''|}}{{#if:{{{homon_grand_oeuvre|}}}|{{#if:{{{homon_oeuvre_noir|}}}{{{homon_oeuvre_blanc|}}}|,&nbsp;|}}Gr.Œuvre&nbsp;'''{{{homon_grand_oeuvre}}}'''|}}|}}{{#if:{{{homon_necromancie|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}{{{homon_kabbale_malkuth|}}}{{{homon_oeuvre_noir|}}}|<br />|}}<span style="color:#666;">'''Nécromancie''' :</span> '''{{{homon_necromancie}}}'''|}}{{#if:{{{homon_kabbale_noire|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}{{{homon_kabbale_malkuth|}}}{{{homon_oeuvre_noir|}}}{{{homon_necromancie|}}}|<br />|}}<span style="color:#666;">'''Kabb. noire''' :</span> '''{{{homon_kabbale_noire}}}'''|}}{{#if:{{{homon_pavane|}}}|{{#if:{{{homon_basse_magie|}}}{{{homon_haute_magie|}}}{{{homon_grand_secret|}}}{{{homon_kabbale_malkuth|}}}{{{homon_oeuvre_noir|}}}{{{homon_necromancie|}}}{{{homon_kabbale_noire|}}}|<br />|}}<span style="color:#666;">'''Pavane''' :</span> '''{{{homon_pavane}}}'''|}}
{{!-}}
}}
{{#if:{{{homon_magie_sorts|}}}{{{homon_kabbale_invocations|}}}{{{homon_alchimie_formules|}}}{{{homon_necromancie_sorts|}}}{{{homon_kabbale_noire_invocations|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Ress. occultes
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} {{#if:{{{homon_magie_sorts|}}}|<span style="color:#666;">'''Sorts''' :</span> {{{homon_magie_sorts}}}|}}{{#if:{{{homon_kabbale_invocations|}}}|{{#if:{{{homon_magie_sorts|}}}|<br />|}}<span style="color:#666;">'''Invocations''' :</span> {{{homon_kabbale_invocations}}}|}}{{#if:{{{homon_alchimie_formules|}}}|{{#if:{{{homon_magie_sorts|}}}{{{homon_kabbale_invocations|}}}|<br />|}}<span style="color:#666;">'''Formules''' :</span> {{{homon_alchimie_formules}}}|}}{{#if:{{{homon_necromancie_sorts|}}}|{{#if:{{{homon_magie_sorts|}}}{{{homon_kabbale_invocations|}}}{{{homon_alchimie_formules|}}}|<br />|}}<span style="color:#666;">'''Sorts (Nécro.)''' :</span> {{{homon_necromancie_sorts}}}|}}{{#if:{{{homon_kabbale_noire_invocations|}}}|{{#if:{{{homon_magie_sorts|}}}{{{homon_kabbale_invocations|}}}{{{homon_alchimie_formules|}}}{{{homon_necromancie_sorts|}}}|<br />|}}<span style="color:#666;">'''Invoc. (Kab.N.)''' :</span> {{{homon_kabbale_noire_invocations}}}|}}
{{!-}}
}}
{{#if:{{{homon_note|}}}|
! style="vertical-align:top; padding:.4em .3em;" {{!}} Note
{{!}} style="vertical-align:top; padding:.4em .6em;" {{!}} <span style="color:#666;">{{{homon_note}}}</span>
{{!-}}
}}</includeonly><noinclude>
== Modèle:HomonculeNL ==


/* --- Corps de texte général --- */
Sous-modèle destiné à être appelé depuis [[Modèle:FichePNJNL]]. Il génère des lignes de tableau décrivant un homoncule (Nephilim ou Selenim capturé dans un objet).
.mw-body-content {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #2A2520;
}


/* --- Paragraphes --- */
'''Ce modèle ne s'utilise pas seul.''' Il est appelé automatiquement par FichePNJNL lorsque l'argument <code>homon_nom</code> est renseigné.
.mw-body-content p {
  margin-bottom: 0.85em;
}


/* --- Gras --- */
=== Arguments ===
.mw-body-content b,
.mw-body-content strong {
  font-weight: 600;
  color: #1E1A16;
}


/* --- Italiques --- */
==== Identité ====
.mw-body-content i,
* <code>homon_nom</code> — Nom de l'homoncule
.mw-body-content em {
* <code>homon_type</code> — Nephilim ou Selenim
  font-style: italic;
* <code>homon_sous_type</code> — Pyrim, Éolim, Hydrim, Faërim, Onirim...
}
* <code>homon_metamorphe</code> — Ange, Djinn, Elfe, Ondine, Satyre...
 
==== Pentacle (si Nephilim) ====
* <code>homon_ka_feu</code>, <code>homon_ka_air</code>, <code>homon_ka_eau</code>, <code>homon_ka_terre</code>, <code>homon_ka_lune</code>
 
==== Ka-Lune Noire (si Selenim) ====
* <code>homon_kln_noyau</code>, <code>homon_kln_reserve</code>
 
==== Vécus passés (jusqu'à 10) ====
* <code>homon_vecu_1</code>, <code>homon_vecu_1_degre</code>, <code>homon_vecu_1_epoque</code> … à <code>homon_vecu_10</code>
 
==== Sciences occultes ====
* '''Magie''' : <code>homon_basse_magie</code>, <code>homon_haute_magie</code>, <code>homon_grand_secret</code>
* '''Kabbale''' : <code>homon_kabbale_malkuth</code> … <code>homon_kabbale_kether</code> (10 sephiroth)
* '''Alchimie''' : <code>homon_oeuvre_noir</code>, <code>homon_oeuvre_blanc</code>, <code>homon_grand_oeuvre</code>
* '''Nécromancie''' (Selenim) : <code>homon_necromancie</code>
* '''Kabbale noire''' (Selenim) : <code>homon_kabbale_noire</code>
* '''Pavane''' (Selenim) : <code>homon_pavane</code>
 
==== Ressources occultes ====
* <code>homon_magie_sorts</code>, <code>homon_kabbale_invocations</code>, <code>homon_alchimie_formules</code>
* <code>homon_necromancie_sorts</code>, <code>homon_kabbale_noire_invocations</code> (Selenim)
 
==== Note ====
* <code>homon_note</code> — Texte libre (ex: "Pentacle abîmé", "Magie détruite par l'orichalque")
 
[[Catégorie:Modèles NL]]
</noinclude>

Dernière version du 21 février 2026 à 14:06

Modèle:HomonculeNL

Sous-modèle destiné à être appelé depuis Modèle:FichePNJNL. Il génère des lignes de tableau décrivant un homoncule (Nephilim ou Selenim capturé dans un objet).

Ce modèle ne s'utilise pas seul. Il est appelé automatiquement par FichePNJNL lorsque l'argument homon_nom est renseigné.

Arguments

Identité

  • homon_nom — Nom de l'homoncule
  • homon_type — Nephilim ou Selenim
  • homon_sous_type — Pyrim, Éolim, Hydrim, Faërim, Onirim...
  • homon_metamorphe — Ange, Djinn, Elfe, Ondine, Satyre...

Pentacle (si Nephilim)

  • homon_ka_feu, homon_ka_air, homon_ka_eau, homon_ka_terre, homon_ka_lune

Ka-Lune Noire (si Selenim)

  • homon_kln_noyau, homon_kln_reserve

Vécus passés (jusqu'à 10)

  • homon_vecu_1, homon_vecu_1_degre, homon_vecu_1_epoque … à homon_vecu_10

Sciences occultes

  • Magie : homon_basse_magie, homon_haute_magie, homon_grand_secret
  • Kabbale : homon_kabbale_malkuthhomon_kabbale_kether (10 sephiroth)
  • Alchimie : homon_oeuvre_noir, homon_oeuvre_blanc, homon_grand_oeuvre
  • Nécromancie (Selenim) : homon_necromancie
  • Kabbale noire (Selenim) : homon_kabbale_noire
  • Pavane (Selenim) : homon_pavane

Ressources occultes

  • homon_magie_sorts, homon_kabbale_invocations, homon_alchimie_formules
  • homon_necromancie_sorts, homon_kabbale_noire_invocations (Selenim)

Note

  • homon_note — Texte libre (ex: "Pentacle abîmé", "Magie détruite par l'orichalque")