Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
; <nowiki>{{{1}}}</nowiki>: name of infobox | ; <nowiki>{{{1}}}</nowiki>: name of infobox | ||
; <nowiki>{{{2}}}</nowiki>: insert | ; <nowiki>{{{2}}}</nowiki>: insert | ||
* [[ | * [[Template:ib]] for new line | ||
* [[polfal: | * [[polfal:ibs]] for infobox section name | ||
* [[polfal: | * [[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 | ||
; <nowiki>{{{3}}}</nowiki>: infobox size (li uten, 270px je) | ; <nowiki>{{{3}}}</nowiki>: infobox size (li uten, 270px je) | ||
=== Example === | === Example === | ||
<pre style="width: fit-content; display: inline-block;"> | <pre style="width: fit-content; display: inline-block;"> | ||
{{infobox|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}} | |300px}} | ||
</pre> | </pre> | ||
{{infobox|Example| | {{infobox|Example| | ||
{{ | {{ib|1st section|1s value}} | ||
{{ | {{ib|2nd section|2s value}} | ||
{{ | {{ibw|Info}} | ||
{{ | {{ibs|Part 2}} | ||
{{ | {{ib|3rd section|3rd value}} | ||
{{ | {{ibt|Part 3}} | ||
{{ | {{ibhalf|Info 1a|Info 1b}} | ||
|300px}} | |300px}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class=" | <div class="infobox" style="width:{{{3|270px}}}"> | ||
<div class=" | <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