Difference between revisions of "Template:Infobox royalty/short description/sandbox"
Jump to navigation
Jump to search
Template documentation
This template implements automatic short descriptions for infobox royalty
imported>Trialpears (test) |
imported>Pppery (Sync sandbox) |
||
| Line 1: | Line 1: | ||
<!--Check if infobox is in lead to avoid false positives-->{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [mM]onarch}}{{#invoke:Is infobox in lead|main|[Ii]nfobox King}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Emperor}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Roman emperor}}{{#invoke:Is infobox in lead|main|[Ii]nfobox [Rr]oyalty}}|<!-- | <!--Check if infobox is in lead to avoid false positives-->{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [mM]onarch}}{{#invoke:Is infobox in lead|main|[Ii]nfobox King}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Emperor}}{{#invoke:Is infobox in lead|main|[Ii]nfobox Roman emperor}}{{#invoke:Is infobox in lead|main|[Ii]nfobox [Rr]oyalty}}|<!-- | ||
Short description processing | Short description processing | ||
| − | -->{{#if:{{{1|}}}|{{short description|{{#invoke:String2|ucfirst|{{trim|{{#invoke:String|match|s={{ | + | -->{{#if:{{{1|}}}|{{short description|{{#invoke:String2|ucfirst|{{trim|{{#invoke:String|match|s={{delink|1={{{1|}}}}}|pattern=[^<{;]*|nomatch=}}}}}}}}}}}}<noinclude> |
{{Documentation|content={{High-use}} This template implements automatic short descriptions for infobox royalty}}</noinclude> | {{Documentation|content={{High-use}} This template implements automatic short descriptions for infobox royalty}}</noinclude> | ||
Latest revision as of 05:09, 11 November 2019
| This is the template sandbox page for Template:Infobox royalty/short description (diff). |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |