Template:Infobox/CatText: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><p | <includeonly><p class="ib-standard ib-padding ib-border-top"><table style="width:100%;"><tr><td class="ib-padding-short" style="width:50%; font-weight: bold;">{{{category}}}</td><td class="ib-padding-short">{{{text}}}</td></tr></table></p></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{Infobox/CatText|category=<cat>|text=<text>}}</pre> | <pre>{{Infobox/CatText|category=<cat>|text=<text>}}</pre> | ||
Line 9: | Line 9: | ||
===Sub-Page=== | ===Sub-Page=== | ||
The ''Infobox/CatText'' template should be used in a /Infobox sub-page. See [[Template:Infobox]] for more information. | The ''Infobox/CatText'' template should be used in a /Infobox sub-page. See [[Template:Infobox]] for more information. | ||
''Infobox/CatText'' Is intended to be used to create a category with a single item in the information box. It adds a horizontal line. Below that it adds bold text on the left and regular text on the right. | ''Infobox/CatText'' Is intended to be used to create a category with a single item in the information box. It adds a horizontal line. Below that it adds bold text on the left and regular text on the right. | ||
Latest revision as of 14:22, 11 May 2018
Usage
{{Infobox/CatText|category=<cat>|text=<text>}}
- The code above can be pasted into your page.
Base Page
{{Infobox}} should be added to the base page of the article.
Sub-Page
The Infobox/CatText template should be used in a /Infobox sub-page. See Template:Infobox for more information.
Infobox/CatText Is intended to be used to create a category with a single item in the information box. It adds a horizontal line. Below that it adds bold text on the left and regular text on the right.
IMPORTANT: {{Infobox/Start}} should always be used in combination with {{Infobox/End}}. Other Infobox templates should be placed between /Start and /End. Changing this order will result in a mess.