Difference between revisions of "Template:Asbox"

From The Broken Dagger Wiki
Jump to: navigation, search
(template categorisation moved to /templatepage, add parameter for demo versions, whitespace and comment tweaks)
m
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks stub" style="background: transparent;"><tr>
+
<table class="metadata plainlinks stub" width="75%" cellpadding="10" style="border:1px solid  #52719a; border-collapse:collapse; background: transparent; margin: 1em auto 1em auto;"  role="presentation"><tr>
 
{{#if:{{{icon|}}}{{{image|}}}
 
{{#if:{{{icon|}}}{{{image|}}}
 
  |<td>{{#if:{{{icon|}}}
 
  |<td>{{#if:{{{icon|}}}
Line 6: Line 6:
 
  }}</td>
 
  }}</td>
 
}}
 
}}
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[Wikipedia:stub|stub]].  You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{note|}}}|<br /><span style="font-style: normal; font-size: smaller;">{{{note|}}} }}</td></tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!--
+
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[BDWiki:Stub|stub]].  You can help BDWiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{name|}}}
 +
|{{navbar|{{{name}}}|mini=yes|style=position: absolute; right: 15px; display: none;}}
 +
}}{{#if:{{{note|}}}
 +
|<br /><span style="font-style: normal; font-size: smaller;">{{{note}}}
 +
}}</td>
 +
</tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!--
 +
*** A general category for tracking all stubs
 +
 
 +
--->[[Category:Stubs]]<!---
 +
 
  
 
  *** Stub category ***
 
  *** Stub category ***
Line 19: Line 28:
  
 
*** check for valid name parameter and transclude /templatepage on template page ***
 
*** check for valid name parameter and transclude /templatepage on template page ***
-->{{#if:{{{demo|}}}
+
-->{{#if:{{{demo|<noinclude>yes</noinclude>}}}
 
   |<!--Demonstration version-->
 
   |<!--Demonstration version-->
 
   |{{#switch:{{FULLPAGENAME:{{{name|}}}}}
 
   |{{#switch:{{FULLPAGENAME:{{{name|}}}}}
Line 44: Line 53:
 
         |type=content
 
         |type=content
 
         |text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}}. If this is a demonstration please set {{para|demo|yes}}.
 
         |text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}}. If this is a demonstration please set {{para|demo|yes}}.
       }}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]
+
       }}-->
 
     }}
 
     }}
 
   }}
 
   }}

Latest revision as of 11:01, 13 July 2014

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}