Template:Infobox/CatText: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(5 intermediate revisions 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/ | |||
|category=<cat> | |||
|text=<text> | |||
}}</pre> | |||
*The code above can be pasted into your page. | *The code above can be pasted into your page. | ||
===Base Page=== | |||
''<nowiki>{{Infobox}}</nowiki>'' 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. | |||
<span style="color:red;">'''IMPORTANT:'''</span> ''<nowiki>{{Infobox/Start}}</nowiki>'' should always be used in combination with ''<nowiki>{{Infobox/End}}</nowiki>''. Other Infobox templates should be placed between /Start and /End. Changing this order will result in a mess. | |||
[[Category:Templates/Formatting]] | [[Category:Templates/Formatting]] | ||
</noinclude> | </noinclude> |
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.