Template:Archive nav: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
New page: {{#iferror: {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} - 0 }} | error | {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} +1 }} }} * {{:Template:Archive n...
 
Derik (talk | contribs)
No edit summary
Line 1: Line 1:
{{chapters|title={{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|content=|prev=123|next=234|center=false|float=right
|content=
*{{Template:Archive nav/utility|getOffsetLink=Sandbox1|offset=-1}}
*{{Template:Archive nav/utility|getOffsetLink=Sandbox1|offset=1}}
}}
←
→
{{#iferror: {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} - 0 }} | error | {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} +1 }}  }}
{{#iferror: {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} - 0 }} | error | {{#expr: {{#sub:{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}|-2|2}} +1 }}  }}


Line 5: Line 15:




* {{:Template:Archive nav/utility|getNumLength=Sandbox}}
* {{:Template:Archive nav/utility|getNumLength=Sandbox2}}
 
*x
* {{:Template:Archive nav/utility|getNum=Sandbox5}}
* {{:Template:Archive nav/utility|getNumh=Sandbox18}}
* {{:Template:Archive nav/utility|getNum=Sandbox19}}
* {{:Template:Archive nav/utility|getNum=Sandbox20}}
* {{:Template:Archive nav/utility|getNum=Sandbox121}}


* {{Template:Archive nav/utility|getOffsetLink=Sandbox1|offset=1}}
*y




Line 18: Line 25:


<!--Next-->{{#sub:Sandbox15|0|-{{:Template:Archive nav/utility|getNumLength=Sandbox15}}}}{{#expr: {{#sub:Sandbox15|-{{:Template:Archive nav/utility|getNumLength=Sandbox15}}|{{:Template:Archive nav/utility|getNumLength=Sandbox15}}}} + 1 }}
<!--Next-->{{#sub:Sandbox15|0|-{{:Template:Archive nav/utility|getNumLength=Sandbox15}}}}{{#expr: {{#sub:Sandbox15|-{{:Template:Archive nav/utility|getNumLength=Sandbox15}}|{{:Template:Archive nav/utility|getNumLength=Sandbox15}}}} + 1 }}
----
* <!--
    getNumLength=String (pagename)
    Test if a page name ends in 3, 2 or 1 #'s.  If all 3 tests are negative, the pagename is assumed to end in 0 numbers.
    Return the number of numbers.
-->{{#if:|
{{#iferror: {{#expr: {{#sub:{{{getNumLength}}}|-3|3}} - 0 }} | {{#iferror: {{#expr: {{#sub:{{{getNumLength}}}|-2|2}} - 0 }} | {{#iferror: {{#expr: {{#sub:{{{getNumLength}}}|-1|1}} - 0 }} | 0 | 1 }} | 2 }} | 3 }}
|}}<!--
    getOffsetLink=String (pagename)
      |offset=Number (#of digits)
    Return a substring of length "length" from the end of "getNum."
-->{{#if:Sandbox121|
{{#sub:Sandbox121|0|-{{:Template:Archive_nav/utility_recurs|getNumLength=Sandbox121}}}}{{#expr: {{#sub:Sandbox121|-{{:Template:Archive_nav/utility_recurs|getNumLength=Sandbox121}}|{{:Template:Archive_nav/utility_recurs|getNumLength=Sandbox121}}}} + 0 }}
|}}

Revision as of 09:19, 4 September 2009

Template:Archive nav
  • {{#sub:Sandbox1|0|-0}}Expression error: Unrecognized punctuation character "{".
  • {{#sub:Sandbox1|0|-0}}Expression error: Unrecognized punctuation character "{".

←

→

error



  • x
  • {{#sub:Sandbox1|0|-0}}Expression error: Unrecognized punctuation character "{".
  • y


  • {{#sub:sanedbox5|-|}}

{{#sub:Sandbox15|0|-}}Expression error: Unrecognized punctuation character "{".