Template:Infobox/End: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
-->{{#ifeq: {{SUBPAGENAME:{{SUBPAGENAME}}}} | Infobox |<!--TRUE (Is Infobox page) | -->{{#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 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 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 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-->Transcluded from {{BASEPAGENAME}}/Infobox|<!--FALSE--><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] {{!}} [{{fullurl:{{FULLPAGENAME}}|action=purge}} Update])</small></p>}} }}<!-- | -->{{#ifeq:{{{hidetext|}}}|true|<!--TRUE-->|<!--FALSE-->{{#ifeq:{{{nolink|}}}|true|<!--TRUE-->Transcluded from {{BASEPAGENAME}}/Infobox|<!--FALSE--><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] {{!}} [{{fullurl:{{FULLPAGENAME}}|action=purge}} Update])</small></p>}} }} }}<!-- | ||
--></div></includeonly><noinclude> | --></div></includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 10:35, 18 January 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.