Template:Str len/core

From Freeside Atlanta
Jump to navigation Jump to search

{{safesubst:#switch:

| hundreds = {{safesubst:#ifeq: x | x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | {{safesubst:#ifeq: x | x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

 | {{safesubst:#ifeq: x | x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
   | {{safesubst:#ifeq: x | x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     | 4
     | 3
     }}
   | 2
   }}
 | 1
 }}

| }}

| tens = {{ safesubst:#ifeq: x | x0000000000 | {{safesubst:#ifeq: x | x00000000000000000000

 | {{safesubst:#ifeq: x | x000000000000000000000000000000
   | {{safesubst:#ifeq: x | x0000000000000000000000000000000000000000
     | {{safesubst:#ifeq: x | x000000000000000000000000000000000000000000000000000000000000
       | {{safesubst:#ifeq: x | x00000000000000000000000000000000000000000000000000000000000000000000000000000000
         | {{safesubst:#ifeq: x | x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
           | 9
           | 8
           }}
         | {{safesubst:#ifeq: x | x0000000000000000000000000000000000000000000000000000000000000000000000
           | 7
           | 6
           }}
         }}
       | {{safesubst:#ifeq: x | x00000000000000000000000000000000000000000000000000
         | 5
         | 4
         }}
       }}
     | 3
     }}
   | 2
   }}
 | 1
 }}

| {{safesubst:#if:|0}} }}

| ones = {{ safesubst:#ifeq: x | x0000 | {{safesubst:#ifeq: x | x000000

 | {{safesubst:#ifeq: x | x00000000
   | {{safesubst:#ifeq: x | x000000000
     | 9
     | 8
     }}
   | {{safesubst:#ifeq: x | x0000000
     | 7
     | 6
     }}
   }}
 | {{safesubst:#ifeq: x | x00000
   | 5
   | 4
   }}
 }}

| {{safesubst:#ifeq: x | x00

 | {{safesubst:#ifeq: x | x000
   | 3
   | 2
   }}
 | {{safesubst:#ifeq: x | x0
   | 1
   | 0
   }}
 }}

}}

}}

{{#ifeq: core | sandbox

|

Template:Template sandbox notice

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:{{#ifeq:str len/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes| {{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}} 

| pc1 | pc2 =