Difference between revisions of "Template:Warningbox"
Line 12: | Line 12: | ||
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly><noinclude> |
</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Has warning box]]}}</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
+ | <templatedata> |
||
+ | { |
||
+ | "params": { |
||
+ | "1": { |
||
+ | "required": true, |
||
+ | "label": "Warning text", |
||
+ | "type": "string" |
||
+ | }, |
||
+ | "australia": {}, |
||
+ | "canada": {}, |
||
+ | "india": {}, |
||
+ | "nz": {}, |
||
+ | "southafrica": {}, |
||
+ | "uk": {}, |
||
+ | "us": {}, |
||
+ | "ie": {} |
||
+ | }, |
||
+ | "description": "Non-obvious dangers to life and limb." |
||
+ | } |
||
+ | </templatedata> |
||
+ | </noinclude> |
Revision as of 22:37, 2 June 2015
||
|{{#ifexist:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Warningbox/doc
}}
|[[{{fullurl:{{#switch: Warningbox |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}}} view]] [[{{fullurl:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|action=edit}} edit]] [[{{fullurl:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|action=history}} history]] [[[:Template:Purge]]]
|[[{{fullurl:{{#switch: Warningbox |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|

|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}
|This documentation is transcluded from [[{{#switch: Warningbox |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}]]. ([{{fullurl:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|action=history}} history])}}{{#switch:Warningbox
|sandbox|testcases= |#default= {{#switch:Template |Template |User= {{#ifexist:Template:Warningbox/sandbox |This template has a sandbox ([{{fullurl:{{#rel2abs:/sandbox}}|action=edit}} edit]) {{#ifexist:Template:Warningbox/testcases |and testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Warningbox/testcases |This template has testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit]) for editors to experiment.}} }}}}}}
</div> {{#if:||{{#ifexist:{{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}|{{ {{#switch: Warningbox
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Warningbox/doc
}}}}}}}}
</div> <templatedata> { "params": { "1": { "required": true, "label": "Warning text", "type": "string" }, "australia": {}, "canada": {}, "india": {}, "nz": {}, "southafrica": {}, "uk": {}, "us": {}, "ie": {} }, "description": "Non-obvious dangers to life and limb." } </templatedata>