Template:Infobox school/short description

{{#if:{{Has short description}} {{delink|1={{{type}}}}}|pattern=[^<{;]*|nomatch=}}|pattern=[%a%d]*%s?$|nomatch=}} }}}}}}|School}}|{{comma separated entries | 1 = {{#if:{{{city|}}}|{{{city|}}}}} | 2 = {{#if:{{{county|}}}|{{{county}}}}} | 3 = {{#if:{{{state|}}}|{{{state}}}}} | 4 = {{#if:{{{province|}}}|{{{province}}}}} | 5 = {{#if:{{{country|}}}|{{#ifexist:Template:Country data {{{country}}}|{{Getalias|{{{country}}}}}|{{{country}}}}}}} }}|check-patterns = [Ss]chool;[Cc]ollege;[Aa]cademy;|full-loc=yes}}}}|pattern='"`uniq%-%-ref%-%d*%-qinu`"'|replace=|plain= false }}}} {{documentation|content={{lua|Module:String|Module:Is infobox in lead}} This template is used for generating a short description for Infobox school.}}
 * {{#invoke:String|replace|source= {{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]chool}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Hochschule}}{{#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|{{#ifexpr:{{#invoke:String|len|{{#invoke:String|match|s={{delink|1={{{type}}}}}|pattern=[^<{;]*|nomatch=}}}} < 40|{{#invoke:String2|sentence|{{trim|{{#invoke:String|match|s={{delink|1={{{type}}}}}|pattern=[^<{;]*|nomatch=}} {{#switch:{{#invoke:String|match|s={{#invoke:String|match|s=
 * college
 * school
 * academy
 * College
 * School
 * Academy=
 * default = school