Template:Sandbox: Difference between revisions
Jump to navigation
Jump to search
(testing Educator tag template) |
(testing an upgrade to Template:Status box) |
||
| Line 8: | Line 8: | ||
[[Category:Template]] |
[[Category:Template]] |
||
: <big>'''Testing |
: <big>'''Testing: Status box<strike></strike>'''</big> |
||
</noinclude> |
</noinclude> |
||
{| cellpadding="2" cellspacing="0" style="float:right; border:1px solid #aaa; |
{| cellpadding="2" cellspacing="0" style="float:right; border:1px solid #aaa; text-size:small; background:#f9f9f9; width:15em; margin:5px 0px 5px 5px;" |
||
|- |
|- |
||
| |
| colspan="2" style="font-size:larger; text-align:center; background:#6bbe45; color:white" | '''{{{component}}}'''<span style="font-size:normal;"><br>[[:Category:{{{type|activity}}}|({{{type|activity}}})]]</span> |
||
{{ #if: {{{icon|}}} | {{!}}- |
|||
| ⚫ | |||
{{!}} colspan="2" style="valign:middle; padding:5px"{{!}} [[Image:{{{icon}}}{{!}}center]] |}} |
|||
| ⚫ | |||
|- |
|- |
||
| colspan="2" style="valign:middle; padding:5px"| [[Image:{{{icon}}}|center]] |
|||
| ⚫ | |||
| ⚫ | |||
|- |
|- |
||
| style="text-align:right;" | ''' |
| style="text-align:right;" | '''Status:''' |
||
| style="text-align:left;" | |
| style="text-align:left;" | {{{status}}} |
||
|- |
|||
| ⚫ | |||
| ⚫ | |||
|- |
|||
| ⚫ | |||
| ⚫ | |||
|- |
|||
| style="text-align:right;" | '''Source:''' |
|||
| style="text-align:left;" | {{{source}}} |
|||
|- |
|||
| style="text-align:right;" | '''[[Localization|l10n]]:''' |
|||
| style="text-align:left;" | {{ #ifexist: {{PAGENAME}}/Localization|[[{{PAGENAME}}/Localization]]|{{{l10n|''<span class="plainlinks">[{{fullurl:{{PAGENAME}}}}/Localization add it here]</span>''}}} }} |
|||
|- |
|||
| colspan="2" style="text-align:center;" | '''Contributors''' |
|||
|- |
|||
| colspan="2" style="text-align:center" | {{{contributors}}} |
|||
|} |
|} |
||
[[Category: |
<includeonly>[[Category:Activity]]</includeonly><noinclude> |
||
This template automatically includes the page in the <nowiki>[[:Category:</nowiki>{{{type}}}]]. |
|||
<includeonly> |
|||
</includeonly><noinclude> |
|||
Purpose of this template is to catalog users according to their ''teaching'' skills. |
|||
User pages tagged with this will be included in the following categories: |
|||
| ⚫ | |||
== Usage == |
== Usage == |
||
<nowiki>{{</nowiki> |
<nowiki>{{</nowiki>Status box |
||
| component = <!-- Name of the component --> |
|||
| type = <!-- Type of the component {activity, core, support} --> |
|||
| subjects = <!-- a set of <tt><nowiki>{{Subject Language}}, {{Subject Math}}, etc.</nowiki></tt> templates that will catalog in the proper subject. --> |
|||
| icon = <!-- ''file name.ext'' (sans <tt><nowiki>[[Image:</nowiki>''file name.ext''<nowiki>]]</nowiki></tt> --> |
|||
| status = <!-- Status of the activity --> |
|||
| ⚫ | |||
| version = <!-- Current/latest version available --> |
|||
| base = <!-- Yes/No if it's included in the [[OS images]] |
|||
/ Could be the first ''build'' number --> |
|||
| source = <!-- Repository / location of the source --> |
|||
| l10n = <!-- Repository / location of the l10n resources --> |
|||
| contributors = <!-- People contributing to the activity --> |
|||
| ⚫ | |||
== |
== Sample == |
||
<br clear="all"> |
<br clear="all"> |
||
{{ Sandbox | |
{{ Sandbox | component = Foo | type = Bar | icon = Xo_small.jpg }} |
||
<nowiki>{{ Educator |
|||
| ⚫ | |||
| grades = {{2nd Grade}}, {{3rd Grade}} |
|||
| subjects = {{Subject Math}} |
|||
| country = Argentina }}</nowiki> |
|||
</noinclude> |
</noinclude> |
||
Revision as of 17:42, 29 June 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: Status box
| {{{component}}} (activity) | |
| [[Image:{{{icon}}}|center]] | |
| Status: | {{{status}}} |
| Version: | {{{version}}} |
| Base: | {{{base}}} |
| Source: | {{{source}}} |
| l10n: | add it here |
| Contributors | |
| {{{contributors}}} | |
This template automatically includes the page in the [[:Category:{{{type}}}]].
Usage
{{Status box
| component = <!-- Name of the component -->
| type = <!-- Type of the component {activity, core, support} -->
| icon = <!-- file name.ext (sans [[Image:file name.ext]] -->
| status = <!-- Status of the activity -->
| version = <!-- Current/latest version available -->
| base = <!-- Yes/No if it's included in the OS images
/ Could be the first build number -->
| source = <!-- Repository / location of the source -->
| l10n = <!-- Repository / location of the l10n resources -->
| contributors = <!-- People contributing to the activity -->
}}
Sample
| Foo (Bar) | |
| Status: | {{{status}}} |
| Version: | {{{version}}} |
| Base: | {{{base}}} |
| Source: | {{{source}}} |
| l10n: | add it here |
| Contributors | |
| {{{contributors}}} | |