Template:Sandbox: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (still testing...)
m (on with the tweaking)
Line 8: Line 8:
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

<noinclude>
: <big>'''Trying to simplify the [[Template:Translated Page]]'''</big>
</noinclude>

<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
<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"
{| width="100%" cellpadding="0" cellspacing="0" style="background-color:#0093d0; color:white"
Line 23: Line 18:
|-
|-
|}
|}
</div>category:Translations lang-{{{lang}}}<noinclude>
</div>

category:pages translated into {{{lang}}}
: <big>'''Trying to simplify the [[Template:Translated Page]]'''</big>
<noinclude>


{{fullurl:The OLPC Wiki|oldid=30534}}
{{fullurl:The OLPC Wiki|oldid=30534}}
Line 53: Line 48:


<nowiki>{{</nowiki> Sandbox | lang = es | source = The OLPC Wiki | version = 30534 <nowiki>}}</nowiki>
<nowiki>{{</nowiki> Sandbox | lang = es | source = The OLPC Wiki | version = 30534 <nowiki>}}</nowiki>

{{ Sandbox | lang = es | source = The OLPC Wiki | version = 30534 }}
{{ Sandbox | lang = es | source = The OLPC Wiki | version = 30534 }}
<nowiki>{{</nowiki> Sandbox | lang = es | source = The OLPC Wiki | version = 30534
| source_display = original | version_display = versión traducida | diff_display = últimos cambios <nowiki>}}</nowiki>
{{ Sandbox | lang = es | source = The OLPC Wiki | version = 30534
| source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
</noinclude>
</noinclude>

Revision as of 19:56, 3 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
  Translation of [[{{{source}}}|{{{source}}}]] [{{fullurl:{{{source}}}|oldid={{{version}}}}} original]  
  {{:{{{source}}}/translations}} [{{fullurl:{{{source}}}|diff=current&oldid={{{version}}}}} diff]  

category:Translations lang-{{{lang}}}

Trying to simplify the Template:Translated Page

http://wiki.laptop.org/mediawiki/index.php?title=The_OLPC_Wiki&oldid=30534

http://wiki.laptop.org/mediawiki/index.php?title=The_OLPC_Wiki&diff=30630&oldid=30534


/go/The_OLPC_Wiki

/mediawiki/index.php?title=The_OLPC_Wiki&action=edit

usage

{{ Sandbox
  | lang            =  <-- 2/3 character language-code of the translation—ie: en, es, ... -->
  | source          =  <-- Source page name—ie: "The OLPC Wiki" (sans quotes) -->
  | version         =  <-- Version ID# of the edition being translated or last updated -->
  | source_display  =  <-- OPTIONAL - a string to display the source link above
                            default = value of source -->
  | version_display =  <-- OPTIONAL - a string to display for the link to the version translated
                            default = "original" -->
  | diff_display    =  <-- OPTIONAL - string to display the link to the version translated and current
                            default = "diff" -->
}}

samples

{{ Sandbox | lang = es | source = The OLPC Wiki | version = 30534 }}
  Translation of The OLPC Wiki original  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

diff  

category:Translations lang-es

{{ Sandbox | lang = es | source = The OLPC Wiki | version = 30534 
         | source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
  Translation of original versión traducida  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

últimos cambios  

category:Translations lang-es