Difference between revisions of "Template:Testing3"

From PC-BSD Wiki
Jump to: navigation, search
(16 intermediate revisions by one user not shown)
Line 1: Line 1:
<noinclude>{{testing|back=template:testing2|forward=template:testing4|custompagename=Testing3 - just an idea}}</noinclude>
+
<!-- this equates to the page name without the language even if translated -->
<includeonly>
+
[[category:{{#titleparts: {{{custompagecategory|{{{custompagename|{{PAGENAME}} }}} }}}|1|1}}]]
{|style="background: #F6Ffee; border: #ff3A3A solid; border-width: 0px 1px 1px 0px; align:center; border-collapse: collapse; width:100%; height:40px;"
+
<!-- this part equates to the language of the page when translated -->
|style="width: 40px; background: #F6FFf6; border: #ffBABA solid; border-width: 1px 1px 0px 1px;"|[[File:{{{icon|favicon}}}.png|center|40x30px|alt={{{subject}}}Stub icon]]
+
[[category:{{#if: {{#titleparts: {{{custompagecategory|{{{custompagename|{{PAGENAME}} }}} }}}|1|2}}|{{#titleparts: {{{custompagecategory|{{{custompagename|{{PAGENAME}} }}} }}}|1|2}}|{{{custompagecategory|{{{custompagename|{{PAGENAME}} }}} }}} }}]]
|style="width:95%; border: #ffAAAA solid; border-width:1px 0px 0px 0px; text-align:center;"|''This [[:category:{{{category|categories}}}|{{{category}}}]] article about {{FULLPAGENAME}} is a [[Stub]]. You can help the PC-BSD wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''
+
|}
+
[[category:{{{stubcategory}}}]][[category:Stubs]]
+
</includeonly>
+
<noinclude>
+
{|style="background: #F6Ffee; border: #ff3A3A solid; border-width: 0px 1px 1px 0px; align:center; border-collapse: collapse; width:100%; height:40px;"
+
|style="width: 40px; background: #F6FFf6; border: #ffBABA solid; border-width: 1px 1px 0px 1px;"|[[File:{{{icon|favicon}}}.png|center|40x30px|alt={{{subject}}}Stub icon]]
+
|style="width:95%; border: #ffAAAA solid; border-width:1px 0px 0px 0px; text-align:center;"|''This [[:category:{{{category|categories}}}|{{{category}}}]] article about {{FULLPAGENAME}} is a [[Stub]]. You can help the PC-BSD wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''
+
|}
+
</noinclude>
+
 
<noinclude>[[category:testing]]</noinclude>
 
<noinclude>[[category:testing]]</noinclude>
 +
<!-- I think this may have been the basis that my cool 'lost' template grew from -->

Revision as of 19:05, 19 August 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox