Template:Year in country portal box/make: Difference between revisions
Appearance
Content deleted Content added
if the country title includes the word "Empire", add Portal:Colonialism |
for diagnosis, add |redlinks=yes |
||
Line 4: | Line 4: | ||
-->| {{#ifeq: {{#invoke:String|match|{{{1|}}}|%%|nomatch=notmatched}}| notmatched<!-- |
-->| {{#ifeq: {{#invoke:String|match|{{{1|}}}|%%|nomatch=notmatched}}| notmatched<!-- |
||
-->|<!-- # No "%%", so it's just one entry |
-->|<!-- # No "%%", so it's just one entry |
||
-->{{Portal|nominimum=yes<!-- |
-->{{Portal|nominimum=yes|redlinks=yes<!-- |
||
-->|{{{1|}}}<!-- |
-->|{{{1|}}}<!-- |
||
-->|History<!-- |
-->|History<!-- |
||
Line 13: | Line 13: | ||
-->}}<!-- |
-->}}<!-- |
||
-->|<!-- # We have a "%%", so it's two portal names |
-->|<!-- # We have a "%%", so it's two portal names |
||
-->{{Portal|nominimum=yes<!-- |
-->{{Portal|nominimum=yes|redlinks=yes<!-- |
||
-->|{{#invoke:String|sub|{{{1|}}}|1|{{#expr: {{#invoke:String|find|{{{1|}}}|%%}} - 1}} }}<!-- |
-->|{{#invoke:String|sub|{{{1|}}}|1|{{#expr: {{#invoke:String|find|{{{1|}}}|%%}} - 1}} }}<!-- |
||
-->|{{#invoke:String|sub|{{{1|}}}|{{#expr: {{#invoke:String|find|{{{1|}}}|%%}} + 2}} }}<!-- |
-->|{{#invoke:String|sub|{{{1|}}}|{{#expr: {{#invoke:String|find|{{{1|}}}|%%}} + 2}} }}<!-- |
||
Line 24: | Line 24: | ||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->|{{Portal|nominimum=yes<!-- |
-->|{{Portal|nominimum=yes|redlinks=yes<!-- |
||
-->|History<!-- |
-->|History<!-- |
||
-->|{{#invoke:FindYDCportal|findydcportal|{{{year|}}}}}<!-- |
-->|{{#invoke:FindYDCportal|findydcportal|{{{year|}}}}}<!-- |