Templat:Documentation/end box: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
←Membuat halaman berisi '<noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.--> </div><!--End of green doc box--><!-- ...' |
Tidak ada ringkasan suntingan |
||
Baris 8:
| {{{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:
| {{ns:
}}
}}
Baris 23:
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:
| {{ns:
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }}
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }}
}}
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }}
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }}
}}
}}<!--
Show the cats and interwiki text, but not
Baris 44:
-->{{#if: {{{content|}}} {{{docname fed|}}}
|
|
}}<!--
Show the "Subpages" link:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:
| {{ns:
| #default =  [[
}}
}}{{#ifexist:{{FULLPAGENAME}}/Print
|</br>
}}
}}
Baris 70:
to make the surrounding if-case trigger-->
| <includeonly>[[
}}<noinclude>
</noinclude>
|