Pabedaan antaro revisi dari "Templat:Documentation/start box2"

Konten dihapus Konten ditambahkan
MF-Warburg (rundiang | jariah)
k ←Suntingan 90.222.250.124 (bicara) dikembalikan ke versi terakhir oleh MF-Warburg
Arupako (rundiang | jariah)
Tidak ada ringkasan suntingan
Barih 1:
<!--
{{Documentation/start box
Start of green doc box
| preload = {{{preload|}}} <!--Allow custom preloads-->
--><div id="template-documentation" class="template-documentation iezoomfix" style="background-color:#ecfcf4; border:1px solid #aaa; padding:12px;"><!--
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
Add the heading at the top of the doc box:
| heading-style = {{{heading-style|}}}
| heading =-->{{#ifeq: {{{heading|¬}}} | <!--EmptyDefined but defined means no headerempty-->
| content = {{{content|}}}
| <!--"heading=", do nothing-->
 
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{
| docpage =
{{#if: {{{1content|}}}
| {{{1|}}}
| <!--Add the [view][edit][history][purge] or [create] links-->
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
<span class="mw-editsection-like plainlinks" id="doc_editlinks" style="float:right; font-size:100%;">{{
}}
{{#if: {{{1doc exist|yes}}}
 
| &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|lihat]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} sunting]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} versi terdahulu]] [{{purge|hapus singgahan}}]
| doc exist =
| <!--/doc doesn't exist-->
{{#ifexist:
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
{{#if: {{{1|}}}
| #if: {{{1preload|}}} <!--Other docname fed-->
| {{{docspace|{{NAMESPACE}}}}}urlencode:{{{template page|{{PAGENAMEpreload}}}}}/doc
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Berkas}}
| Templat:Dokumentasi/preload-filespace
| Templat:Dokumentasi/preload
}} }} }} buat]]
}}</span>
}} <span style="{{#if: {{{heading-style|}}}
| heading-style =| {{{heading-style|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Templat}}
| font-weight: bold; font-size: 125%
| font-size: 150%
}}
}}">{{#switch: {{{heading|¬}}}
| ¬ =
<!--"heading" not defined in this or previous level-->
{{#switch: {{SUBJECTSPACE}}
| {{ns:Templat}} = [[Berkas:Template-info.png|50px|link=|alt=Ikon dokumentasi]] Dokumentasi templat
| {{ns:Module}} = [[Berkas:Template-info.png|50px|link=|alt=Ikon dokumentasi]] Dokumentasi modul
| {{ns:Berkas}} = Ringkasan
| #default = Dokumentasi
}}
| yes#default =
<!--"heading" has data or is empty but defined-->
}}
{{{heading|}}}
}}</span></div>
}}<noinclude><!-- close the div --></div>
 
}}<noinclude>
 
{{Pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>