Template:Sandbox

From OLPC
Revision as of 00:48, 25 July 2007 by Xavi (talk | contribs) (testing a new to categorize)
Jump to: navigation, search

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 {{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: {{Google Translations}}

Google-العربية-Deutsch-español-français-italiano-日本語-한국어-português-русский-中文(中国大陆)‎


Usage

{{Sandbox
 | title =       <!-- OPTIONAL -- title (defaults to 'Google'; -->
 | ar    = none  <!-- OPTIONAL -- hides link for arabic translation; -->
 | de    = none  <!-- OPTIONAL -- hides link for german translation; -->
 | es    = none  <!-- OPTIONAL -- hides link for spanish translation; -->
 | fr    = none  <!-- OPTIONAL -- hides link for french translation; -->
 | it    = none  <!-- OPTIONAL -- hides link for italian translation; -->
 | ja    = none  <!-- OPTIONAL -- hides link for japanese translation; -->
 | ko    = none  <!-- OPTIONAL -- hides link for korean translation; -->
 | pt    = none  <!-- OPTIONAL -- hides link for portuguese translation; -->
 | ru    = none  <!-- OPTIONAL -- hides link for russing translation; -->
 | zh    = none  <!-- OPTIONAL -- hides link for chinese (simplified) translation -->
 }}

Sample

The following are all equivalents, as they all generate a REDIRECT directive to the upper level

{{Sandbox|es=none}}

{{#sub:

 {{{1}}} |
 Expression error: Unrecognized punctuation character "{".

}}

pos={{#pos:{{{1}}}|/}} iftest=yes