Difference between revisions of "Template:Infobox"

From Wikipedia 2197
Jump to navigation Jump to search
(Created page with "<!---------------------- Infobox ----------------------> <!---------------------- Entête ----------------------> <div class="infobox_v2"> <div class="entete {{{type|}}}" st...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  | animal = ffff64
 
  | animal = ffff64
 
  | robot = ffff64
 
  | robot = ffff64
  | character = ffff64
+
  | personnage | character = ffff64
  | weapon = ffc832
+
  | arme | weapon = ffc832
  | consumable = ffc832
+
  | consommable | consumable = ffc832
  | collectable = ffc832
+
  | collectionnable | collectable = ffc832
  | tool = ffc832
+
  | outil | tool = ffc832
  | community = 96ff64
+
  | communaute | community = 96ff64
  | semiinhabited = 96ff64
+
  | semihabite | semiinhabited = 96ff64
  | ghost = 96ff64
+
  | fantome | ghost = 96ff64
 
  | secret = 96ff64
 
  | secret = 96ff64
  | group = ff6363
+
  | groupe | group = ff6363
 
  | profession = ff6363
 
  | profession = ff6363
  | custom = ff6363
+
  | coutume | custom = ff6363
  | quest = ff6363
+
| quete | quest = ff6363
  | subquest = feadad
+
  | sousquete | subquest = feadad
  | present = ffff64
+
| presenter | present = ffff64
 
  | #default = ffff64
 
  | #default = ffff64
 
}};color:#000">{{ #switch: {{{type|}}}
 
}};color:#000">{{ #switch: {{{type|}}}
  | present = ''Infobox'' example
+
  | presenter | present = ''Infobox'' example
  | quest = Quest
+
  | quete | quest = Quest
  | subquest = Sub-quest
+
  | sousquete | subquest = Sub-quest
 
  | #default = {{BASEPAGENAME}}
 
  | #default = {{BASEPAGENAME}}
 
}}</div>
 
}}</div>
Line 31: Line 31:
  
 
{{ #switch: {{{type|}}}
 
{{ #switch: {{{type|}}}
  | presenter =
+
  | presenter | presenter =
 
<!---------------------- EXEMPLE ---------------------->
 
<!---------------------- EXEMPLE ---------------------->
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
Line 63: Line 63:
 
</table>
 
</table>
 
<!---------------------- QUÊTE ---------------------->
 
<!---------------------- QUÊTE ---------------------->
  | quete =
+
  | quete | quest =
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
     <tr>
 
     <tr>
Line 69: Line 69:
 
       <td width="66%" style="vertical-align: top;">{{BASEPAGENAME}}</td>
 
       <td width="66%" style="vertical-align: top;">{{BASEPAGENAME}}</td>
 
     </tr>
 
     </tr>
     {{#if: {{{par|}}} | <tr>
+
     {{#if: {{{by|}}} | <tr>
 
       <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Given by</b></font></td>
 
       <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Given by</b></font></td>
       <td width="66%" style="vertical-align: top;">{{{par|}}}</td>
+
       <td width="66%" style="vertical-align: top;">{{{by|}}}</td>
 
     </tr> | <tr>
 
     </tr> | <tr>
 
       <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Given by</b></font></td>
 
       <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Given by</b></font></td>
Line 96: Line 96:
 
     </tr> | }}
 
     </tr> | }}
 
</table>
 
</table>
{{#if: {{{sous|}}} | <div class="caption" style="background-color:#ff6363;">Sub-quest(s)</div><!-- Séparateur --><br>{{{sous|}}} | }}
+
{{#if: {{{sub|}}} | <div class="caption" style="background-color:#ff6363;">Sub-quest(s)</div><!-- Séparateur --><br>{{{sub|}}} | }}
{{#if: {{{plus|}}} | <div class="caption" style="background-color:#ff6363;">Associated quest(s)</div><!-- Separator --><br>{{{more|}}} | }}
+
{{#if: {{{more|}}} | <div class="caption" style="background-color:#ff6363;">Associated quest(s)</div><!-- Separator --><br>{{{more|}}} | }}
 
<!---------------------- SOUS-QUÊTE ---------------------->
 
<!---------------------- SOUS-QUÊTE ---------------------->
  | sousquete =
+
  | sousquete | subquest =
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
     <tr>
 
     <tr>

Latest revision as of 01:41, 5 October 2022

Infobox