Anonymous user
Template:Asbox: Difference between revisions
Jump to navigation
Jump to search
template categorisation moved to /templatepage, add parameter for demo versions, whitespace and comment tweaks
en>MSGJ m (forgot one, pass {{{article}}}) |
en>MSGJ (template categorisation moved to /templatepage, add parameter for demo versions, whitespace and comment tweaks) |
||
Line 6:
}}</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}}<
*** Stub
▲-->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category}}}]]}}<!--
▲ *** Is there a second stub category? ***
-->{{#if:{{{category1|}}}|<!--▼
▲ -->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category1}}}]]}}<!--
-->}}<!--
▲ *** Is there a third stub category? ***
▲ -->{{#ifeq:{{NAMESPACE}}||[[Category:{{{category2}}}]]}}<!--
*** check for valid name parameter and transclude /templatepage on template page ***
|<!--Demonstration version-->
|{{#switch:{{FULLPAGENAME
|{{FULLPAGENAME}}=<!--Template page-->{{Asbox/templatepage
|image = {{{image|}}}▼
|
|
|
|
|
|
|
|
|
|
}}▼
|{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.-->▼
|#default={{#ifeq:{{NAMESPACE}}|Template▼
|<!--{{ombox▼
|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}}.▼
}}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]▼
}}
}}
▲ |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.-->
▲ |#default={{#ifeq:{{NAMESPACE}}|Template
▲ |<!--{{ombox
▲ |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}}}}
▲ }}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]
▲ }}
▲--></includeonly><noinclude><!--
*** Documentation ***
-->{{documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
|