Templat:Asbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Robot: Perubahan kosmetika
Migrasi templat ke modul menggunakan bahasa pemrograman Lua.
Baris 1:
<includeonly>{{#invoke:Asbox|main}}</includeonly><noinclude>
<table class="metadata plainlinks stub" style="background: transparent;"><tr>
{{documentation}}
{{#if:{{{icon|}}}{{{image|}}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
|<td>{{#if:{{{icon|}}}
|{{{icon}}}
|[[Berkas:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]
}}</td>
}}
<td>''Artikel bertopik <!-- {{{article|article}}} --> {{{subject|}}} {{{qualifier|}}} ini adalah sebuah [[Wikipedia:Rintisan|rintisan]]. Anda dapat membantu Wikipedia dengan [{{fullurl:{{FULLPAGENAME}}|action=edit}} mengembangkannya].''{{#if:{{{name|}}}
|{{Tnavbar|{{{name}}}|mini=yes|style=position:absolute; right:15px; font-size:smaller; 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 ***
-->{{#if:{{{category|}}}|[[Kategori:{{{category}}}]]}}<!--
 
*** Optional second stub category ***
-->{{#if:{{{category1|}}}|[[Kategori:{{{category1}}}]]}}<!--
 
*** Optional third stub category ***
-->{{#if:{{{category2|}}}|[[Kategori:{{{category2}}}]]}}<!--
-->}}<!--
 
*** check for valid name parameter and transclude /templatepage on template page ***
-->{{#if:{{{demo|<noinclude>yes</noinclude>}}}
|<!--Demonstration version-->
|{{#switch:{{FULLPAGENAME:{{{name|}}}}}
|{{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.-->
|#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}}.
}}-->[[Kategori:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]
}}
}}
}}<noinclude>
{{Documentation}}
[[Kategori:Templat dasar]]
[[Kategori:Templat meta Wikipedia]]
[[Kategori:Templat rintisan| ]]
</noinclude>