« Modèle:BasePage2 Voir l’historique

(PesachZ moved page Connected Citizens to Connected Citizens Program: to use official name, a/p MGODLEW)
m (1 révision importée)
 
Ligne 1 : Ligne 1 :
#REDIRECT [[Connected Citizens Program]]
{{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1}}| USA<!-- If USA template page -->
  | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}| CommonState<!-- If template -->
      | {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Return "USA/CommonState"-->
      | {{#ifeq: {{padright:|4|{{#titleparts:{{{1|{{PAGENAME}}}}}|1|3}}}}|Test<!-- If 2nd level = "Test..." -->
          | {{#titleparts:{{{1|{{PAGENAME}}}}}|3}}<!-- Return USA + 2 -->
          | {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Else USA + 1 -->
        }}<!-- End ifeq Test-->
    }}<!-- End ifeq CommonState-->
  | {{#ifeq: {{padright:|4|{{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}}}|Test<!-- If 2nd level = "Test..." -->
      | {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Return first two levels -->
      | {{#titleparts:{{{1|{{PAGENAME}}}}}|1}}<!-- Else return 1st level only -->
    }}<!-- End ifeq non-CommonState pages -->
}}<noinclude>{{documentation|Template:RootPage/doc}}</noinclude>

Dernière version du 13 novembre 2019 à 01:49

BasePage2

Documentation icon Template documentation[create]
Subpages of this template.