Template:Sandbox: Difference between revisions

From OLPC
Jump to navigation Jump to search
(new Sandbox for Templates (and avoid botched attempts ;))
 
(testing to embed PO sections)
Line 8: Line 8:
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
{| width="100%" cellpadding="0" cellspacing="0"
|-
|width=25% align=left bgcolor=#C3D9FF|&#8592; '''[[OLPC Human Interface Guidelines/{{{prev}}}/lang-{{{lang}}}|{{:OLPC Human Interface Guidelines/{{{prev}}}/lang-{{{lang}}}/title}}]]'''
|width=50% align=center bgcolor=#C3D9FF|'''[[OLPC Human Interface Guidelines/{{{curr}}}/lang-{{{lang}}}|{{:OLPC Human Interface Guidelines/{{{curr}}}/lang-{{{lang}}}/title}}]] [[{{NAMESPACE}} talk:OLPC Human Interface Guidelines/{{{curr}}}/lang-{{{lang}}}|<font color="white"><b>(talk page)</b></font>]]'''
|width=25% align=right bgcolor=#C3D9FF| '''[[OLPC Human Interface Guidelines/{{{next}}}/lang-{{{lang}}}|{{:OLPC Human Interface Guidelines/{{{next}}}/lang-{{{lang}}}/title}}]]''' &#8594;
|}
</div><noinclude>
Structure assumed by this template is as follows:


<noinclude>

: '''Testing auto-embeder of laptop.org PO file sections'''
* OLPC Human Interface Guidelines
** /previousPageName - ''the previous original chapter in english''
*** /lang-xx - ''the translation of the previous chapter into 'xx'''
**** /title - ''the translated title of the previous chapter into 'xx'''
** /currentPageName - ''the current original chapter in english''
*** /lang-xx - ''the translation of the current chapter into 'xx'''
**** /title - ''the translated title of the current chapter into 'xx'''
** /nextPageName - ''the next original chapter in english''
*** /lang-xx - ''the translation of the next chapter into 'xx'''
**** /title - ''the translated title of the next chapter into 'xx'''
</noinclude>
</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"
|-
| width=50% align=left | <font size="1">&nbsp;&nbsp;Included page/section '''[[PO-laptop.org-bio-{{{lang}}}]]'''</font>
|width=25% align=center | <font size="1">[[PO-laptop.org-bio-{{{source_lang|en-US}}}|current english]]</font>
|width=25% align=right | <font size="1">[http://wiki.laptop.org/index.php?title=PO-laptop.org-bio-{{{lang}}}&action=edit +/-]</font>&nbsp;&nbsp;
|}</div>{{:PO-laptop.org-{{{section}}}-{{{lang}}}}}

Revision as of 17:10, 2 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 auto-embeder of laptop.org PO file sections


  Included page/section [[PO-laptop.org-bio-{{{lang}}}]] current english +/-  

{{:PO-laptop.org-{{{section}}}-{{{lang}}}}}