Template:Infobox/succession/doc
From Eureka Wiki
				
								
				Jump to navigation
				Jump to search
				
				
				|  | This is a documentation subpage for Template:Infobox/succession. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. | 
Usage[edit source]
This template is used to built an infobox from bricks. The {{Infobox/succession}} template is used to add a diptych or a triptych inside an infobox.
Syntax[edit source]
Copy/paste the following inside the infobox template:
{{Infobox/Début}}
{{Infobox/succession|previous|center|next|colspan value|transparent}}
{{Infobox/Fin}}
Parameters[edit source]
| Parameter | Mandatory | Default value | Explanation | 
|---|---|---|---|
| {{{1|}}} | No | N/A | Used to add some content in the left cell. Example: {{Infobox/succession|Previous}}. | 
| {{{2|}}} | No | N/A | Used to add some content in the center cell. Example: {{Infobox/succession||Center}}. | 
| {{{3|}}} | No | N/A | Used to add some content in the right cell. Example: {{Infobox/succession|||Next}}. | 
| {{{4|}}} | No | 2 | Used to modify colspan value inside the infobox. Example: {{Infobox/succession|Previous|Center|Next|3}}. | 
| {{{5|}}} | No | B0C4DE | Used to change the background color from Light Steel Blue to transparent. Example: {{Infobox/succession|Previous|Center|Next||yes}}. | 
Examples[edit source]
- Full diptych
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession|Previous||Next}}
{{Infobox/endbox}}
 | 
 
 | |||||||||
- Uncompleted diptych
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession|||Next}}
{{Infobox/endbox}}
 | 
 
 | |||||||||
- Full triptych
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession|Previous|Center|Next}}
{{Infobox/endbox}}
 | 
 
 | |||||||||||
- Uncompleted triptych
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession||Center|Next}}
{{Infobox/endbox}}
 | 
 
 | |||||||||||
- Uncompleted triptych
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession||Center|}}
{{Infobox/endbox}}
 | 
 
 | |||||||||||
- With transparent background
| {{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/succession|Previous|Center|Next||yes}}
{{Infobox/endbox}}
 | 
 
 | |||||||||||









 
     
     
     
    
