Difference between revisions of "Template:Infobox school/short description/sandbox"
Jump to navigation
Jump to search
Template documentation
imported>Trialpears (Sandbox) |
imported>Pppery (Sync sandbox) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
=======Short description======= | =======Short description======= | ||
| − | -->{{#if:{{#invoke:Is infobox in lead | + | -->{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Hochschule}}{{#invoke:Is infobox in lead|main|[Ii]nfobox School}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Secondary school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Education in Canada}}{{#invoke:Is infobox in lead|main|[Hh]igh school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Secondary School}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Malaysia school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Malaysia School}}{{#invoke:Is infobox in lead|main|[iI]nfobox UK school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox US school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox secondary school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Public School}}{{#invoke:Is infobox in lead|main|[sS]chool infobox}}{{#invoke:Is infobox in lead|main|[Ii]nfobox middle school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox high school}}{{#invoke:Is infobox in lead|main|[Ii]nfobox School2}}{{#invoke:Is infobox in lead|main|[Ii]nfobox HighSchool}}{{#invoke:Is infobox in lead|main|[Ss]chool}}|{{#invoke:Type in location|main|<!-- |
===Type logic=== | ===Type logic=== | ||
| − | No refs, brs or templates-->{{#invoke:String2|sentence|{{trim|{{#invoke:String|match|s={{ | + | No refs, brs or templates-->{{#invoke:String2|sentence|{{trim|{{#invoke:String|match|s={{delink|1={{{type}}}}}|pattern=[^<{;]*|nomatch=}}<!-- |
Add school to end--> {{#switch:{{#invoke:String|match|s={{#invoke:String|match|s= | Add school to end--> {{#switch:{{#invoke:String|match|s={{#invoke:String|match|s= | ||
| − | {{ | + | {{delink|1={{{type}}}}}|pattern=[^<{;]*|nomatch=}}|pattern=[%a%d]*%s?$|nomatch=}} |
|college | |college | ||
|school | |school | ||
| Line 21: | Line 21: | ||
| 4 = {{#if:{{{province|}}}|{{{province}}}}} | | 4 = {{#if:{{{province|}}}|{{{province}}}}} | ||
| 5 = {{#if:{{{country|}}}|{{{country|}}}}} | | 5 = {{#if:{{{country|}}}|{{{country|}}}}} | ||
| − | }} | + | }}|check-patterns = [Ss]chool;[Cc]ollege;[Aa]cademy;|full-loc=yes}}}}<noinclude>{{documentation|content={{lua|Module:String|Module:Is infobox in lead}} |
| − | + | This template is used for generating a short description for Infobox school.}}</noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 05:10, 11 November 2019
| This is the template sandbox page for Template:Infobox school/short description (diff). |
| This template uses Lua: |
This template is used for generating a short description for Infobox school.
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |