Difference between revisions of "Template:InfoBox"
From Detective Conan Wiki
(→See also) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| − | This template and its subtemplates | + | This template and its subtemplates can be combined and used as a [[wikipedia:Help:Metatemplating|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|See also]] section at the bottom of this page. | For detailed documentation on each of the sub-templates, follow their respective links under the [[#See also|See also]] section at the bottom of this page. | ||
| Line 13: | Line 13: | ||
'''Example:''' | '''Example:''' | ||
<pre>{{InfoBox|header-color = #ececec|header-text-color = black | <pre>{{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}} |
| 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 25: | Line 26: | ||
{{BeginBox}} <!-- For aesthetic purposes, Template:BeginBox is being used to push the See also section down and is unrelated to Template:InfoBox. --> | {{BeginBox}} <!-- For aesthetic purposes, Template:BeginBox is being used to push the See also section down and is unrelated to Template:InfoBox. --> | ||
{{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}} |
| 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 --> | ||
}} | }} | ||
Latest revision as of 22:41, 21 December 2025
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}}
{{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: