Template:Sandbox: Difference between revisions
Jump to navigation
Jump to search
m (tweaking) |
(trying simple mnemonic for key image) |
||
Line 7: | Line 7: | ||
'''See Also''' http://meta.wikimedia.org/wiki/Help:Template |
'''See Also''' http://meta.wikimedia.org/wiki/Help:Template |
||
[[Category:Template]] |
[[Category:Template]] |
||
</noinclude> |
</noinclude>[[Image:Key ctrl.jpg]]<noinclude> |
||
⚫ | |||
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;"> |
|||
{| width="100%" cellpadding="0" cellspacing="0" <!-- style="background-color:#0093d0; color:white" --> |
|||
|- valign=top |
|||
| align=center | '''IN''' |
|||
| align=center | '''{{{method}}}''' |
|||
| algin=center | '''OUT''' |
|||
|- valign=top |
|||
| {{{in}}} |
|||
| {{{comment}}} |
|||
| {{{out}}} |
|||
|} |
|||
</div> |
|||
<noinclude> |
|||
⚫ | |||
== usage == |
== usage == |
||
<nowiki>{{</nowiki> Sandbox |
<nowiki>{{</nowiki> Sandbox <nowiki>}}</nowiki> |
||
| method = <-- name of the function/method --> |
|||
| comment = <-- description of the method --> |
|||
| in = <-- list of arguments / parameters --> |
|||
| ''in_notes'' = <-- OPTIONAL - notes on the arguments / parameters --> |
|||
| out = <-- return value --> |
|||
| ''out_notes'' = <-- OPTIONAL - notes on the returned value --> |
|||
<nowiki>}}</nowiki> |
|||
== samples == |
== samples == |
||
<nowiki>{{</nowiki> Sandbox |
<nowiki>{{</nowiki> Sandbox <nowiki>}}</nowiki> |
||
⚫ | |||
| method = ShareActivity |
|||
| in = s: activity id, s: activity type, s: name, a{sv}: properties |
|||
| out = o |
|||
| comment = Shares an activity with others |
|||
<nowiki>}}</nowiki> |
|||
⚫ | |||
| method = ShareActivity |
|||
| in = s: activity id, s: activity type, s: name, a{sv}: properties |
|||
| out = o |
|||
| comment = Shares an activity with others }} |
|||
---- |
|||
<nowiki>{{</nowiki> Sandbox |
|||
| method = ShareActivity |
|||
| in = s: activity id,<br>s: activity type,<br>s: name,<br>a{sv}: properties |
|||
| out = o |
|||
| comment = Shares an activity with others |
|||
<nowiki>}}</nowiki> |
|||
{{Sandbox |
|||
| method = ShareActivity |
|||
| in = s: activity id,<br>s: activity type,<br>s: name,<br>a{sv}: properties |
|||
| out = o |
|||
| comment = Shares an activity with others }} |
|||
</noinclude> |
</noinclude> |
Revision as of 14:02, 21 April 2007
Many times you may want to just 'test' an idea for a template, I haven't found a sensible way of fully testing templates by themselves (as they will not get included in the edited version, but rather the saved version).
The idea of this Template:Sandbox is to have that, a simple testing zone that will not interfere with others and avoid leaving a trail of botched attempts.
Please leave this comment/text for others to read. See Also http://meta.wikimedia.org/wiki/Help:Template
- Testing new template Template:Ctrl
usage
{{ Sandbox }}
samples
{{ Sandbox }}