« Modèle:Infobox Planète » : différence entre les versions

De Battlestar Wiki
(Page créée avec « <includeonly><div display="none">{{DEFAULTSORT:{{#if: {{{tri|}}} | {{{tri}}} | {{PAGENAME}} }} }}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoile… »)
 
Aucun résumé des modifications
Ligne 89 : Ligne 89 :
  | donnée74    = {{#invoke:InfoboxImage | InfoboxImage | image = {{#if: {{{image blason|}}} | {{{image blason}}} }}|taille = {{#if: {{{taille image blason|}}} | {{{taille image blason}}} | 230 }} | taille par défaut = frameless | alt = {{{alt blason|}}} }}
  | donnée74    = {{#invoke:InfoboxImage | InfoboxImage | image = {{#if: {{{image blason|}}} | {{{image blason}}} }}|taille = {{#if: {{{taille image blason|}}} | {{{taille image blason}}} | 230 }} | taille par défaut = frameless | alt = {{{alt blason|}}} }}


}}</includeonly><noinclude>{{Documentation}}</noinclude>
}}<!--
 
Récupération de l'attribut "nom" dans l'infobox
 
-->{{#if: {{{nom|}}} | {{#set: nom = {{{nom}}} }} | {{#set: nom = {{PAGENAME}} }} }}<!--
 
Récupération de l'attribut "image infobox" depuis le modèle
 
-->{{#if: {{{image|}}} | {{#set: Image infobox = {{{image}}} }} }}<!--
 
Récupération de l'attribut "image blason" depuis le modèle
 
-->{{#if: {{{image blason|}}} | {{#set: Image blason = {{{image blason}}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Version du 26 avril 2020 à 12:53

Documentation modèle[voir] [modifier] [historique] [purger]

Utilisation

Ce modèle rajoute une infobox pour les planètes.

Syntaxe

{{Infobox Planète
 | tri                    = 
 | nocat                  = 
 | spoiler                = 
 | indépendant            = 
 | continuité             = 
 | lconticuité            = 
 | univers                = 
 | univers2               = 
 | child                  = 
 | nom                    = 
 | série                  = <!-- ajouter série2, série3, etc. si nécessaire -->
 | ligne de temps altérée = 
 | réalité parallèle      = 
 | hallucination          = 
 | image                  = 
 | taille image           = 
 | alt                    = 
 | titre original         = 
<!-- RENSEIGNEMENTS ASTROGRAPHIQUES -->
 | galaxie                = <!-- Donnée sémantique, ne pas wikifier -->
 | soleils                = 
 | lunes                  = 
 | atmosphère             = 
 | statut                 = 
<!-- RENSEIGNEMENTS GÉOPOLITIQUES -->
 | population             = 
 | race                   = 
 | domination             = 
 | période technologique  = 
 | capitale               = <!-- Donnée sémantique, ne pas wikifier -->
 | gouvernement           = 
 | image blason           = 
 | taille image blason    = 
 | alt blason             = 
<!-- RENSEIGNEMENTS NON LIÉS À L'UNIVERS BSG -->
 | mention                = 
 | apparition             = 
}}