Template:Transclude

From Syra D&D Wiki

(Difference between revisions)
Jump to: navigation, search
(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 #…')
(Undo revision 1196 by Dark T Zeratul (Talk))
Line 1: Line 1:
-
{| style="background: transparent;"
+
{{#switch: {{NAMESPACE: {{{1}}} }}
-
|-
+
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
-
|style="padding-right: 1em;" | [[File:Icon-shortcut.png]]
+
|{{ns:0}} =
-
|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 />
+
    {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
-
See [[Special:Whatlinkshere/{{FULLPAGENAME}}|what links here]] for the pages that use this page.</small></div>
+
      | Template:{{{1}}}           <!-- no leading colon, eg "Foo" -->
-
|}
+
      | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
-
<noinclude>[[Category:Backend templates]]</noinclude>
+
    }}
 +
}}<noinclude>
 +
{{documentation}}
 +
[[Category:Backend templates]]
 +
</noinclude>

Revision as of 00:18, 15 January 2012

Template:{{{1}}}

Personal tools