Template:Infobox/Cat: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Infobox/Cat" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><p style="margin: -0.5em 0px 2.5px 0px; padding: 0px 5px 2.5px 5px; border-top: 1px solid rgb(183,143,81); font-weight: bold;">{{{category}}}</p></includeonly><noinclude>
<includeonly><p class="ib-cat-text ib-padding ib-border-top">{{{1}}}</p></includeonly><noinclude>
==Example==
todo
 
==Usage==
==Usage==
todo
<pre>{{Infobox/Cat|<category>}}</pre>
<pre>todo</pre>
*The code above can be pasted into your page.
*The code above can be pasted into your page.


==Example Source==
===Base Page===
<pre>todo</pre>
''<nowiki>{{Infobox}}</nowiki>'' should be added to the base page of the article.
 
===Sub-Page===
The ''Infobox/Cat'' template should be used in a /Infobox sub-page. See [[Template:Infobox]] for more information.
 
''Infobox/Cat'' Is intended to be used to create a category in the information box. It adds a horizontal line with bold text below it.
 
<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/Cat|<category>}}
  • 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/Cat template should be used in a /Infobox sub-page. See Template:Infobox for more information.

Infobox/Cat Is intended to be used to create a category in the information box. It adds a horizontal line with bold text below it.

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.