Difference between revisions of "Template:Asbox"

From MicroWiki, the micronational encyclopædia
Jump to navigation Jump to search
(Modernising template)
Tag: Replaced
Line 1: Line 1:
<table class="metadata plainlinks stub" style="background: transparent;"  role="presentation"><tr>
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
  |[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[Microwiki:stub|stub]].  You can help MicroWiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{name|}}}
|{{navbar|{{{name}}}|mini=yes|style=position: absolute; right: 15px; display: none;}}
|<br /><span style="font-style: normal; font-size: smaller;">{{{note}}}</span>
</tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!--
*** A general category for tracking all stubs
--->[[Category:All stub articles]]<!---
*** Stub category ***
*** Optional second stub category ***
*** Optional third stub category ***
*** check for valid name parameter and transclude /templatepage on template page ***
  |<!--Demonstration version-->
    |{{FULLPAGENAME}}=<!--Template page-->{{Asbox/templatepage
      |image    = {{{image|}}}
      |pix      = {{{pix|}}}
      |imagealt  = {{{imagealt|}}}
      |icon      = {{{icon|}}}
      |subject  = {{{subject|}}}
      |article  = {{{article|}}}
      |qualifier = {{{qualifier|}}}
      |category  = {{{category|}}}
      |tempsort  = {{{tempsort|}}}
      |category1 = {{{category1|}}}
      |tempsort1 = {{{tempsort1|}}}
      |category2 = {{{category2|}}}
      |tempsort2 = {{{tempsort2|}}}
      |note      = {{{note|}}}
      |name      = {{{name|}}}
    |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.-->
        |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 templates needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]
*** Documentation ***
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->

Latest revision as of 20:29, 12 October 2021

Template documentation[create]