Template:Infobox/End: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#ifeq: {{SUBPAGENAME}} | Infobox |<!--
-->{{#ifeq: {{SUBPAGENAME:{{SUBPAGENAME}}}} | Infobox |<!--TRUE (Is Infobox page)
--><p style="margin: -0.5em 0px 0px 0px; padding: 0px 5px 0px 5px; border-top: 1px solid rgb(183,143,81); font-size: 88%;">This is the Infobox page which should be transcluded into the main page by adding <nowiki>{{Infobox}}</nowiki> . See [[Template:Infobox]] for more information.</p>[[Category:Templates/Formatting]] |<!--
--><p class="ib-standard ib-padding-short ib-border-top">This is the Infobox page which should be transcluded into the parent page by adding <nowiki>{{Infobox}}</nowiki> . See [[Template:Infobox]] for more information or go to the [{{fullurl:{{#titleparts: {{FULLPAGENAME}} | -1 }}}} parent page].</p>|<!--FALSE (Not Infobox page)
-->{{#ifeq:{{{nolink|}}}|true|<!--TRUE--><p class="plainlinks" style="margin: -0.5em 0px 0px 0px; padding: 0px 5px 0px 5px; border-top: 1px solid rgb(183,143,81); text-align: center; font-size: 88%;">Transcluded from {{BASEPAGENAME}}/Infobox <small>([{{fullurl:{{FULLPAGENAME}}/Infobox|action=edit}} edit])</small></p>|<!--FALSE-->}} }}<!--
-->{{#ifeq:{{{hidetext|}}}|true|<!--TRUE-->|<!--FALSE-->{{#ifeq:{{{nolink|}}}|true|<!--TRUE-->Transcluded from {{BASEPAGENAME}}/Infobox|<!--FALSE--><p class="plainlinks ib-standard ib-padding-short ib-border-top" style="text-align: center; ">Transcluded from {{BASEPAGENAME}}/Infobox <small>([{{fullurl:{{FULLPAGENAME}}/Infobox|action=edit}} Edit] {{!}} [{{fullurl:{{FULLPAGENAME}}|action=purge}} Update])</small></p>}} }} }}<!--
--></div></includeonly><noinclude>
--></div></includeonly><noinclude>
==Usage==
==Usage==
todo
<pre>{{Infobox/End}}</pre>
<pre>{{Infobox/End}}</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 ''<nowiki>{{Infobox/End}}</nowiki>'' template should be used in a /Infobox sub-page. See [[Template:Infobox]] for more information.
<span style="color:red;">'''IMPORTANT:'''</span> ''<nowiki>{{Infobox/End}}</nowiki>'' should always be used in combination with ''<nowiki>{{Infobox/Start}}</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:15, 24 October 2018

Usage

{{Infobox/End}}
  • 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/End}} template should be used in a /Infobox sub-page. See Template:Infobox for more information.

IMPORTANT: {{Infobox/End}} should always be used in combination with {{Infobox/Start}}. Other Infobox templates should be placed between /Start and /End. Changing this order will result in a mess.