Template:Infobox/End: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
-->{{#ifeq: {{SUBPAGENAME:{{SUBPAGENAME}}}} | Infobox |<!--TRUE (Is Infobox page)
-->{{#ifeq: {{SUBPAGENAME:{{SUBPAGENAME}}}} | Infobox |<!--TRUE (Is Infobox page)
--><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)
--><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:{{{hidetext|}}}|true|<!--TRUE-->|<!--FALSE-->{{#ifeq:{{{nolink|}}}|true|<!--TRUE-->Transcluded from {{BASEPAGENAME}}/Infobox|<!--FALSE--><p class="plainlinks" class="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>}} }} }}<!--
-->{{#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==

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.