「Template:Asbox」同「Template:Asbox/sandbox」兩版嘅分別
閱讀設定
(版之間嘅差異)
內容刪咗 內容加咗
冇編輯摘要 |
冇編輯摘要 |
||
第1行: | 第1行: | ||
⚫ | |||
<table class="metadata plainlinks stub" style="background: transparent;" role="presentation"><tr class="noresize"> |
|||
{{Tfd|sandbox}} |
|||
{{#if:{{{icon|}}}{{{image|}}} |
|||
</noinclude><includeonly>{{#invoke:Asbox|main}}{{#ifexpr:{{PAGESIZE:{{FULLPAGENAME}}|R}}>3000|{{main other |[[Category:字數超過咗3000字節嘅楔|{{PAGENAME}}]]}}}}</includeonly><noinclude>{{Documentation}}<!-- Add categories to the /doc subpage and interwikis to Wikidata. --></noinclude> |
|||
|<td>{{#if:{{{icon|}}} |
|||
|{{{icon}}} |
|||
|[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]] |
|||
}}</td> |
|||
}} |
|||
<td><div class="notice metadata" id="stub" style="font-size: small;">呢篇{{{subject|}}}{{{article|文}}}係{{{qualifier|}}}[[Wikipedia:楔|楔]]位文。歡迎幫維基百科[{{fullurl:{{FULLPAGENAME}}|action=edit}} 擴寫佢]。</div>{{#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}}}</span> |
|||
}}</td> |
|||
</tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!-- |
|||
*** A general category for tracking all stubs |
|||
[[Category:全部嘅楔文]] |
|||
*** Stub category *** |
|||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- |
|||
*** Optional second stub category *** |
|||
-->{{#if:{{{category1|}}}|[[Category:{{{category1}}}]]}}<!-- |
|||
*** Optional third stub category *** |
|||
-->{{#if:{{{category2|}}}|[[Category:{{{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}}. |
|||
}}-->[[Category:需要注意嘅楔信模|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]] |
|||
}} |
|||
}} |
|||
}}<noinclude><!-- |
|||
*** Documentation *** |
|||
-->{{documentation}} |
|||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
|||
⚫ |