Difference between revisions of "Template:InfoBox"
From Detective Conan Wiki
m (Template:InfoBox/CollapsibleTable -> Template:InfoBox/CollapsibleRow) |
(Template:BeginBox/Template:EndBox -> Template:Clear) |
||
| Line 24: | Line 24: | ||
}}</pre> | }}</pre> | ||
'''Results in:''' | '''Results in:''' | ||
| − | |||
{{InfoBox|header-color = #ececec|header-text-color = black | {{InfoBox|header-color = #ececec|header-text-color = black | ||
| chronology = {{InfoBox/Chronology|Previous|[[The links of this chronology table are intentionally broken|Link]]|Next}} | | chronology = {{InfoBox/Chronology|Previous|[[The links of this chronology table are intentionally broken|Link]]|Next}} | ||
| Line 36: | Line 35: | ||
}} <!-- End of Section 1 --> | }} <!-- End of Section 1 --> | ||
}} | }} | ||
| − | {{ | + | {{clear}} <!-- For aesthetic purposes, Template:Clear is being used to push the See also section down and is unrelated to Template:InfoBox. --> |
== See also == | == See also == | ||
Latest revision as of 17:14, 28 March 2026
This template and its subtemplates can be combined and used as a metatemplate for other InfoBox templates. It can also be used to easily create custom InfoBoxes if needed.
For detailed documentation on each of the sub-templates, follow their respective links under the See also section at the bottom of this page.
Example:
{{InfoBox|header-color = #ececec|header-text-color = black
| chronology = {{InfoBox/Chronology|Previous|[[The links of this chronology table are intentionally broken|Link]]|Next}}
| main =
{{InfoBox/MainHeader|Main Header}}
{{InfoBox/Image|Detective Conan Anime Logo.png|caption=Japanese [[Detective Conan]] logo}}
{{InfoBox/Section|Section 1|content =
{{InfoBox/LabeledRow|Label|Some information |border-top = none}}
{{InfoBox/CollapsibleRow|Expand this...|...to read more information}}
{{InfoBox/Item|Some final information}}
}} <!-- End of Section 1 -->
}}
Results in:
Main Header
Section 1
Label
Some information
Expand this...
...to read more information
Some final information