Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
(template categorisation moved to /templatepage, add parameter for demo versions, whitespace and comment tweaks)
m
 
(12 intermediate revisions by 6 users not shown)
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 [[Wikipedia:stub|stub]].  You can help ssf 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-->|<!--
  
 
  *** Stub category ***
 
  *** Stub category ***
Line 19: Line 24:
  
 
*** 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|}}}}}

Latest revision as of 13:12, 17 February 2013