« Discussion:Grand Djihad » : différence entre les versions

De wiki.shadowrun-jdr.fr
Aller à la navigation Aller à la recherche
imported>El Comandante
Aucun résumé des modifications
imported>El Comandante
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
Comment fait on une infobox sur le modèle de Wikipedia pour les conflits militaires ?[[Utilisateur:Shadmad|Shadmad]] 12 octobre 2007 à 19:34 (CEST)
Comment fait on une infobox sur le modèle de Wikipedia pour les conflits militaires ?[[Utilisateur:Shadmad|Shadmad]] 12 octobre 2007 à 19:34 (CEST)
:Euh... Tu veux dire un truc au code aussi complexe que ça?
:Euh... Tu veux dire un truc au code aussi complexe que ça?
:<nowiki>{| class="infobox" style="width: 300px;"
:''<nowiki>{| class="infobox" style="width: 300px;"
|+ style="background: #EEE; color:black;" | {{{conflit|{{PAGENAME}}}}}
|+ style="background: #EEE; color:black;" | {{{conflit|{{PAGENAME}}}}}
|-
|-
Ligne 112 : Ligne 112 :
[[zh:Template:Infobox Military]]
[[zh:Template:Infobox Military]]
</noinclude>
</noinclude>
</nowiki>
</nowiki>''
:
:
:Laisse-tomber, c'est beaucoup trop complexe à la fois pour nous et pour l'outil MediaWiki de ShadowWiki, je crois. Faudra se contenter d'un modèle beaucoup plus modeste, je pense, de [[Modèle:Infobox conflit militaire|ce style]].
:Laisse tomber, c'est beaucoup trop complexe à la fois pour nous et pour l'outil MediaWiki de ShadowWiki, je crois! Faudra se contenter d'un modèle beaucoup plus modeste, je pense, de [[Modèle:Infobox conflit militaire|ce style]].
:[[Utilisateur:El Comandante|<font color="#0000FF">El Comandante]] [[Image:FlagEspagne.gif |15px]] </font>[[Discussion Utilisateur:El Comandante|<font color="#C00000">Hasta ∞</font>]] 13 octobre 2007 à 02:34 (CEST)
:[[Utilisateur:El Comandante|<font color="#0000FF">El Comandante]] [[Image:FlagEspagne.gif |15px]] </font>[[Discussion Utilisateur:El Comandante|<font color="#C00000">Hasta ∞</font>]] 13 octobre 2007 à 02:34 (CEST)

Version du 13 octobre 2007 à 01:24

Comment fait on une infobox sur le modèle de Wikipedia pour les conflits militaires ?Shadmad 12 octobre 2007 à 19:34 (CEST)

Euh... Tu veux dire un truc au code aussi complexe que ça?
{| class="infobox" style="width: 300px;" |+ style="background: #EEE; color:black;" | {{{conflit|{{PAGENAME}}}}} |- {{#if:{{{image|}}} | {{!}} {{#if:{{{combattants3|}}} | colspan="3" | colspan="2" }} class="infoboximage" style="padding:0.5em" {{!}} {{{image|}}}<br/><small>{{{légende|}}}</small> }} |- | {{#if:{{{combattants3|}}} | colspan="3" | colspan="2" }} style="background: #EEE;" class="infoboxsoustitre" {{!}} Informations générales |- ! Date | {{{date|}}} |- ! Lieu | {{{lieu|}}} |- {{#if:{{{casus|}}} | ! ''[[Casus belli|Casus belli]]'' {{!}} {{{casus|}}} }} |- {{#if:{{{territoires|}}} | ! Changements territoriaux {{!}} {{{territoires|}}} }} |- ! Issue | {{{issue|}}} |- {{#if:{{{combattants1|}}}{{{combattants2|}}}{{{combattants3|}}} | {{!}} {{#if:{{{combattants3|}}} | colspan="3" | colspan="2" }} style="background: #EEE;" class="infoboxsoustitre" {{!}} Belligérants }} |- {{#if:{{{combattants1|}}}{{{combattants2|}}}{{{combattants3|}}} | {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{combattants1|}}} {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{combattants2|}}} {{#if:{{{combattants3|}}} | {{!}} width="33%" {{!}} {{{combattants3|}}} }}}} |- {{#if:{{{commandant1|}}}{{{commandant2|}}}{{{commandant3|}}} | {{!}} {{#if:{{{commandant3|}}} | colspan="3" |colspan="2" }} class="infoboxsoustitre" style="background: #EEE; text-algn:left;" {{!}} Commandants }} |- {{#if:{{{commandant1|}}}{{{commandant2|}}}{{{commandant3|}}} | {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{commandant1|}}} {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{commandant2|}}} {{#if:{{{combattants3|}}} | {{!}} width="33%" {{!}} {{{commandant3|}}} }}}} |- {{#if:{{{forces1|}}}{{{forces2|}}}{{{forces3|}}} | {{!}} {{#if:{{{commandant3|}}} | colspan="3" | colspan="2" }} class="infoboxsoustitre" style="background: #EEE;" {{!}} Forces en présence }} |- {{#if:{{{forces1|}}}{{{forces2|}}}{{{forces3|}}} | {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{forces1|}}} {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{forces2|}}} {{#if:{{{combattants3|}}} | {{!}} width="33%" {{!}} {{{forces3|}}} }}}} |- {{#if:{{{pertes1|}}}{{{pertes2|}}}{{{pertes3|}}} | {{!}} {{#if:{{{combattants3|}}} | colspan="3" | colspan="2" }} class="infoboxsoustitre" style="background: #EEE;" {{!}} Pertes }} |- {{#if:{{{pertes1|}}}{{{pertes2|}}}{{{pertes3|}}} | {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{pertes1|}}} {{!}} {{#if:{{{combattants3|}}} | width="33%" | width="50%" }} style="text-align:left;vertical-align:top;" {{!}} {{{pertes2|}}} {{#if:{{{combattants3|}}} | {{!}} width="33%" {{!}} {{{pertes3|}}} }}}} |- {{#if:{{{combattants3|}}} | | {{#if:{{{pertes3|}}} | {{!}} colspan="2" style="text-align: center;" {{!}} style="text-align:left;vertical-align:top;" {{{pertes3|}}} }}}} |- {{#if:{{{guerre|}}} | {{!}} {{#if:{{{combattants3|}}} | colspan="3" | colspan="2" }} style="text-align: center; background: #EEE; font-size:110%;" {{!}} '''{{{guerre|}}}''' }} |- {{#if:{{{batailles|}}} | {{!}} {{#if:{{{commandant3|}}} | colspan="3" | colspan="2" }} class="infoboxsoustitre" style="background: #EEE;" {{!}} Batailles }} |- {{#if:{{{batailles|}}} | {{!}} {{#if:{{{combattants3|}}}|colspan="3"|colspan="2"}} {{!}} {{{batailles|}}} }} |- {{#if:{{{notes|}}} | {{!}} {{#if:{{{commandant3|}}} | colspan="3" | colspan="2" }} class="infoboxsoustitre" style="background: #EEE;" {{!}} Notes }} |- {{#if:{{{notes|}}} | {{!}} {{#if:{{{combattants3|}}}|colspan="3"|colspan="2"}} {{!}} {{{notes|}}} }} |}<noinclude> <br style="clear:right;" /> {{Modèle utilisant les ParserFunctions}} {{Projet:Histoire militaire/infobox conflit militaire}} [[Catégorie:Modèle infobox militaire|Conflit]] [[da:Skabelon:Militær konflikt]] [[el:Πρότυπο:Μάχη]] [[en:Template:Infobox Military Conflict]] [[fi:Malline:Taistelu]] [[it:Template:Conflitto]] [[nl:Sjabloon:Infobox Militair Conflict]] [[no:Mal:Infoboks slag]] [[ro:Format:Infobox_conflict_militar]] [[sv:Mall:Slagfakta]] [[zh:Template:Infobox Military]] </noinclude>
Laisse tomber, c'est beaucoup trop complexe à la fois pour nous et pour l'outil MediaWiki de ShadowWiki, je crois! Faudra se contenter d'un modèle beaucoup plus modeste, je pense, de ce style.
El Comandante Hasta ∞ 13 octobre 2007 à 02:34 (CEST)