Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
|300px}} | |300px}} | ||
</pre> | </pre> | ||
{{Infobox|Example | {{Infobox|Example| | ||
{{ib|1st section|1st value}} | {{ib|1st section|1st value}} | ||
{{ib|2nd section|2nd value}} | {{ib|2nd section|2nd value}} | ||
Line 31: | Line 30: | ||
|300px}} | |300px}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class="Infobox" style="width:{{{3|270px}}}"> | <div class="Infobox" style="width:{{{3|270px}}}; word-wrap: break-word;"> | ||
<div class="ibname">{{{1}}}</div> | <div class="ibname">{{{1}}}</div> | ||
{{{2}}} | {{{2}}} | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Latest revision as of 23:20, 17 November 2023
Tutorial
- {{{1}}}
- name of infobox
- {{{2}}}
- insert
- Template:ib for new line
- Template:ibs for infobox section name
- Template:ibw use a whole line for one name (like ibs but unbolded)
- Template:ibhalf like ib but unbolded, and parts cover half the box
- {{{3}}}
- infobox size (if unspecified, 270px)
Example
{{Infobox|Example| {{ib|1st section|1st value}} {{ib|2nd section|2nd value}} {{ibw|Info}} {{ibs|Part 2}} {{ib|3rd section|3rd value}} {{ibs|Part 3}} {{ibhalf|Info 1a|Info 1b}} |300px}}
Example
1st section
1st value
2nd section
2nd value
Info
Part 2
3rd section
3rd value
Part 3
Info 1a
Info 1b