Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
=== Example === | === Example === | ||
<pre style="width: fit-content; display: inline-block;"> | <pre style="width: fit-content; display: inline-block;"> | ||
{{ | {{Infobox|Example| | ||
{{ib|1st section|1s value}} | {{ib|1st section|1s value}} | ||
{{ib|2nd section|2s value}} | {{ib|2nd section|2s value}} | ||
Line 20: | Line 20: | ||
|300px}} | |300px}} | ||
</pre> | </pre> | ||
{{ | {{Infobox|Example| | ||
{{ib|1st section|1s value}} | {{ib|1st section|1s value}} | ||
{{ib|2nd section|2s value}} | {{ib|2nd section|2s value}} | ||
Line 30: | Line 30: | ||
|300px}} | |300px}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class=" | <div class="Infobox" style="width:{{{3|270px}}}"> | ||
<div class="ibname">{{{1}}}</div> | <div class="ibname">{{{1}}}</div> | ||
{{{2}}} | {{{2}}} | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 02:02, 20 September 2023
Tutorial
- {{{1}}}
- name of infobox
- {{{2}}}
- insert
- Template:ib for new line
- polfal:ibs for infobox section name
- polfal:ibw use a whole line for one name (like sbt but unbolded)
- Template:ibhalf like sb but the size of halves is 50%–50%, and unbolded
- {{{3}}}
- infobox size (li uten, 270px je)
Example
{{Infobox|Example| {{ib|1st section|1s value}} {{ib|2nd section|2s value}} {{ibw|Info}} {{ibs|Part 2}} {{ib|3rd section|3rd value}} {{ibs|Part 3}} {{ibhalf|Info 1a|Info 1b}} |300px}}
Example
1st section
1s value
2nd section
2s value
Info
Part 2
3rd section
3rd value
Info 1a
Info 1b