Difference between revisions of "Template:InfoBox"
From Detective Conan Wiki
(→See also) |
|||
| Line 15: | Line 15: | ||
| 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 }} | ||
| main = | | main = | ||
| − | {{InfoBox/MainHeader| Main Header }} | + | {{InfoBox/MainHeader|Main Header}} |
| − | {{InfoBox/Image| Detective Conan Anime Logo.png }} | + | {{InfoBox/Image|Detective Conan Anime Logo.png}} |
| − | {{InfoBox/Section| Section 1 |content = | + | {{InfoBox/Section|Section 1|content = |
| − | {{InfoBox/LabeledRow| Label | Some information |border-top = none}} | + | {{InfoBox/LabeledRow|Label|Some information |border-top = none}} |
| − | {{InfoBox/Item| Some | + | {{InfoBox/CollapsibleTable|Expand this...|...to read more information}} |
| + | {{InfoBox/Item|Some final information}} | ||
}} <!-- End of Section 1 --> | }} <!-- End of Section 1 --> | ||
}}</pre> | }}</pre> | ||
| Line 27: | Line 28: | ||
| 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 }} | ||
| main = | | main = | ||
| − | {{InfoBox/MainHeader| Main Header }} | + | {{InfoBox/MainHeader|Main Header}} |
| − | {{InfoBox/Image| Detective Conan Anime Logo.png }} | + | {{InfoBox/Image|Detective Conan Anime Logo.png}} |
| − | {{InfoBox/Section| Section 1 |content = | + | {{InfoBox/Section|Section 1|content = |
| − | {{InfoBox/LabeledRow| Label | Some information |border-top = none}} | + | {{InfoBox/LabeledRow|Label|Some information |border-top = none}} |
| − | {{InfoBox/Item| Some | + | {{InfoBox/CollapsibleTable|Expand this...|...to read more information}} |
| + | {{InfoBox/Item|Some final information}} | ||
}} <!-- End of Section 1 --> | }} <!-- End of Section 1 --> | ||
}} | }} | ||
Revision as of 04:32, 26 September 2025
This template and its subtemplates are used to simplify the backends of various other InfoBox templates and 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}}
{{InfoBox/Section|Section 1|content =
{{InfoBox/LabeledRow|Label|Some information |border-top = none}}
{{InfoBox/CollapsibleTable|Expand this...|...to read more information}}
{{InfoBox/Item|Some final information}}
}} <!-- End of Section 1 -->
}}
Results in: