Template:Transclude: Difference between revisions

From Syra D&D Wiki
Jump to navigation Jump to search
Created page with '{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}…'
 
Created page with '{| style="background: transparent;" |- |style="padding-right: 1em;" | File:Icon-shortcut.png |valign=top|<div style="border-top: 1px solid #808080; border-bottom: 1px solid #…'
Line 1: Line 1:
{{#switch: {{NAMESPACE: {{{1}}} }}
{| style="background: transparent;"
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
|-
|{{ns:0}} =
|style="padding-right: 1em;" | [[File:Icon-shortcut.png]]
    {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
|valign=top|<div style="border-top: 1px solid #808080; border-bottom: 1px solid #808080; padding: 1ex 1em; margin-top: 0.3ex; max-width: 25em;"><small style="line-height: 120%;">This article is a transcludable page{{#if:{{{motherpage|{{{1|{{BASEPAGENAME}}}}}}}}|&#32;for [[{{{motherpage|{{{1}}}}}}]]}}, therefore it may only contain a few words, a tooltip, a price tag, a table, or a part of a page.<br />
      | Template:{{{1}}}           <!-- no leading colon, eg "Foo" -->
See [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] for the pages that use this page.</small></div>
      | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
|}
    }}
<noinclude>[[Category:Backend templates]]</noinclude>
}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 16:17, 14 January 2012

File:Icon-shortcut.png
This article is a transcludable page for [[{{{1}}}]], therefore it may only contain a few words, a tooltip, a price tag, a table, or a part of a page.
See what links here for the pages that use this page.