Jump to content

Template:InfoBox/Section: Difference between revisions

From Detective Conan Wiki
m Experiment: adding nowiki tags to see if it fixes line break issue
It somehow fixed it?! Removing note in template description
Line 3: Line 3:
</div>|<nowiki></nowiki>}}</includeonly><noinclude>
</div>|<nowiki></nowiki>}}</includeonly><noinclude>
This template creates a section of an InfoBox and is meant to be used in conjunction with [[Template:InfoBox]].
This template creates a section of an InfoBox and is meant to be used in conjunction with [[Template:InfoBox]].
When putting multiple sections in succession, write the opening braces of the second section right after the closing braces of the first section, as follows:
<pre>
{{InfoBox/Section|Section 1|content=
...
}}{{InfoBox/Section|Section ...
or
{{InfoBox/Section|Section 1|content=
...
}}{{
InfoBox/Section|Section ...
</pre>
Writing them on separate lines (see below) can create unintentional line breaks in the output:
<pre>
{{InfoBox/Section|Section 1|content=
...
}}
{{InfoBox/Section|Section ...
</pre>
'''Do not write the templates as in this second example. Use the first example instead.'''


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:54, 14 August 2025

This template creates a section of an InfoBox and is meant to be used in conjunction with Template:InfoBox.