Template:Documentation: Difference between revisions
m (1 revision) |
(200 So. Main Street, Blanding, Utah 84511) |
||
Line 1: | Line 1: | ||
<!-- | <p><!-- | ||
Automatically add {{template sandbox notice}} when on a /sandbox page. | Automatically add {{template sandbox notice}} when on a /sandbox page. | ||
-->{{#ifeq: {{SUBPAGENAME}} | | --><span class="fck_mw_template"><span class="fck_mw_template"><span class="fck_mw_template">{{#ifeq: {{SUBPAGENAME}} | sandboxfckLR| &amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;{{template sandbox notice|{{{livepage|}}}}}fckLR}}</span></span></span><!-- | ||
| | |||
}}<!-- | |||
Automatically add {{pp-template}} to protected templates. | Automatically add {{pp-template}} to protected templates. | ||
-->{{template | --><span class="fck_mw_template"><span class="fck_mw_template"><span class="fck_mw_template">{{template otherfckLR| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysopfckLR | {{pp-template|docusage=yes}}fckLR | {{#if: {{PROTECTIONLEVEL:edit}}fckLR | {{pp-template|docusage=yes}}fckLR | <!--Not protected, or only semi-move-protected-->fckLR }}fckLR }}fckLR}}</span></span></span><!-- | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | | |||
}}<!-- | |||
Start of green doc box. | Start of green doc box. | ||
-->{{documentation/start | --><span class="fck_mw_template"><span class="fck_mw_template"><span class="fck_mw_template">{{documentation/start box2fckLR| preload = {{{preload|}}} <!--Allow custom preloads-->fckLR| heading = {{{heading|¬}}} <!--Empty but defined means no header-->fckLR| heading-style = {{{heading-style|}}}fckLR| content = {{{content|}}}fckLR | ||
| preload = {{{preload|}}} <!--Allow custom preloads--> | |||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> | |||
| heading-style = {{{heading-style|}}} | |||
| content = {{{content|}}} | |||
<!--Some namespaces must have the /doc, /sandbox and /testcases | <!--Some namespaces must have the /doc, /sandbox and /testcases | ||
in talk space--> | in talk space--> | ||
| docspace = {{documentation/docspace}} | fckLRfckLRfckLR| docspace = {{documentation/docspace}}fckLRfckLR| 1 = {{{1|}}} <!--Other docname, if fed-->fckLR | ||
| 1 = {{{1|}}} <!--Other docname, if fed--> | |||
<!--The namespace is added in /start box2--> | <!--The namespace is added in /start box2--> | ||
| template page = {{documentation/template page}} | fckLRfckLRfckLR| template page = {{documentation/template page}}fckLRfckLR}}</span></span></span><!-- Start content --><!-- | ||
}}<!-- Start content --><!-- | |||
Start load the /doc content: | Start load the /doc content: | ||
Note: The line breaks between this comment and the next line are necessary | Note: The line breaks between this comment and the next line are necessary | ||
so "=== Headings ===" at the start and end of docs are interpreted. | so "=== Headings ===" at the start and end of docs are interpreted. | ||
--> | --> | ||
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}} | <span class="fck_mw_template"><span class="fck_mw_template"><span class="fck_mw_template">{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}}fckLR| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 fckLR| 1111 = {{{content|}}}fckLR| 0110 | 0111 = {{ {{{1}}} }}fckLR| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}fckLR| 0000 | 0100 | 0010 | 0101 = fckLR}}</span></span></span> | ||
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | |||
| 1111 = {{{content|}}} | |||
| 0110 | 0111 = {{ {{{1}}} }} | |||
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }} | |||
| 0000 | 0100 | 0010 | 0101 = | |||
}} | |||
<!-- | <!-- | ||
End load the /doc content: | End load the /doc content: | ||
Note: The line breaks between this comment and the previous line are necessary | Note: The line breaks between this comment and the previous line are necessary | ||
so "=== Headings ===" at the start and end of docs are interpreted. | so "=== Headings ===" at the start and end of docs are interpreted. | ||
-->{{documentation/end | --><span class="fck_mw_template"><span class="fck_mw_template"><span class="fck_mw_template">{{documentation/end box2fckLR| preload = {{{preload|}}} <!--Allow custom preloads-->fckLR| content = {{{content|}}}fckLR| link box = {{{link box|}}} <!--So "link box=off" works-->fckLR | ||
| preload = {{{preload|}}} <!--Allow custom preloads--> | |||
| content = {{{content|}}} | |||
| link box = {{{link box|}}} <!--So "link box=off" works--> | |||
<!--Some namespaces must have the /doc, /sandbox and /testcases | <!--Some namespaces must have the /doc, /sandbox and /testcases | ||
in talk space--> | in talk space--> | ||
| docspace = {{documentation/docspace}} | fckLRfckLRfckLR| docspace = {{documentation/docspace}}fckLRfckLR| 1 = {{{1|}}} <!--Other docname, if fed-->fckLR | ||
| 1 = {{{1|}}} <!--Other docname, if fed--> | |||
<!--The namespace is added in /end box2--> | <!--The namespace is added in /end box2--> | ||
| template page = {{documentation/template page}} | fckLRfckLRfckLR| template page = {{documentation/template page}}fckLRfckLR}}</span></span></span><!-- | ||
}}<!-- | |||
End of green doc box | End of green doc box | ||
-->< | --><span class="fck_mw_noinclude">fckLRfckLR<!-- Add categories and interwikis to the /doc subpage, not here! -->fckLR</span> | ||
</p> | |||
</ |
Revision as of 23:22, 1 August 2013
Template:Template otherfckLRTemplate:Documentation/start box2fckLR Template:Documentation/end box2fckLRfckLRfckLR<!-- Add categories and interwikis to the /doc subpage, not here! -->fckLR