Template:Template sandbox: Difference between revisions
Jump to navigation
Jump to search
m (Reset page (test: seems ok)) Tag: FooBar |
(+Sub-paged link.) |
||
(39 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>'''''{{PAGENAME}}''' page.'' | <noinclude>'''''{{PAGENAME}}''' page.'' | ||
<span class="subpages" style="font-size:0.95em;">[[special:PrefixIndex/{{NAMESPACE}}:Template sandbox|Template sandbox Sup-Pages]] <span style="color:gray; font-size:1.25em;">► </span></span> | |||
{{sandbox|:This is the RoB-template-sandbox where you can play and try out template debugging safely. | {{sandbox|:This is the RoB-template-sandbox where you can play and try out template debugging safely. | ||
:Can be used together with the [[sandbox|general sandbox page]]. | :Can be used together with the [[sandbox|general sandbox page]]. | ||
:Note: No semantic in-text annotations when used as stand-alone self-calling template.}} | :Note: No semantic in-text annotations when used as stand-alone self-calling template.}} | ||
<!--COMMENT Feel free to temporary remove this page-header when testing. Just restore it again after your done. --></noinclude> | <!--COMMENT Feel free to temporary remove this page-header when testing. Just restore it again after your done. --></noinclude | ||
><includeonly | |||
>{| class="infobox boxed" style="font-size:89%; width:320px;" | |||
|+ {{Infobox/preview_mode_note}} | |||
! colspan="2" | {{{name|{{PAGENAME}}}}} | |||
|- style="text-align:center;" | |||
| colspan="2" style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=152 }}<p style="margin:0px;margin-top:0.5em"><i>{{{caption|{{{text|}}}}}}</i></p> | |||
|- | |||
! colspan="2" {{RoB_style|infoboxsection}} | | |||
|- | |||
| style="width:60px;" | <b>[[:Category:Medicine | Treated]] with</b> | |||
| {{#if: {{{treatedwith|}}} | {{{treatedwith}}} | |||
|- | |||
| style="width:60px;" | <b>Cause</b> | |||
| {{{cause}}} | |||
|- | |||
| style="width:60px;" | <b>Penalties</b> | |||
| {{#if: {{{penalty|}}} | {{{penalty}}} | |||
|- | |||
| style="width:60px;" | <b>Rewards</b> | |||
| {{#if: {{{reward|}}} | {{{reward}}} | |||
|- | |||
! colspan="2" | Go to ... page | |||
|}</includeonly | |||
><noinclude>{{documentation}}</noinclude> |
Latest revision as of 12:12, 14 May 2023
Template sandbox page. Template sandbox Sup-Pages ►
- This is the RoB-template-sandbox where you can play and try out template debugging safely.
- Can be used together with the general sandbox page.
- Note: No semantic in-text annotations when used as stand-alone self-calling template.
Template documentation (for the template shown above, sometimes hidden or invisible)
Bla bla bla (Sandbox TemplateData Testcase)
JSONLint:- A tool that allows you to validate manually-written JSON to help find errors in the syntax. (Tabs indentation only output)
JSONCompare: More advanced version. Includes output options. (generally preferred: Tabs or 2 Spaces indentation.)
Templatedata Description
Parameter | Description | Type | Status | |
---|---|---|---|---|
reward | reward | no description | Content | required |
cause | no description | String | optional | |
penalty | penalty | no description | Number | suggested |
Label1 | treatedwith | Label1 Description | Page name | optional |
Visit Template:Template sandbox/doc to edit this text! (How does this work?)