Template:Infobox/End: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) m (Protected "Template:Infobox/End" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
CptTwinkie (talk | contribs) mNo edit summary |
||
(25 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 | --><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="plainlinks | -->{{#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== | ||
<pre>{{Infobox/End}}</pre> | |||
<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.