Template:Nominal list: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| | {| | ||
{{if | {{#if:{{{2|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{1|1}}}.{{!}}{{!}} {{{2|}}} | {{!}}align=right {{!}} {{{1|1}}}.{{!}}{{!}} {{{2|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{4|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{3|2}}}.{{!}}{{!}} {{{4|}}} | {{!}}align=right {{!}} {{{3|2}}}.{{!}}{{!}} {{{4|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{6|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{5|3}}}.{{!}}{{!}} {{{6|}}} | {{!}}align=right {{!}} {{{5|3}}}.{{!}}{{!}} {{{6|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{8|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{7|4}}}.{{!}}{{!}} {{{8|}}} | {{!}}align=right {{!}} {{{7|4}}}.{{!}}{{!}} {{{8|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{10|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{9|5}}}.{{!}}{{!}} {{{10|}}} | {{!}}align=right {{!}} {{{9|5}}}.{{!}}{{!}} {{{10|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{12|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{11|6}}}.{{!}}{{!}} {{{12|}}} | {{!}}align=right {{!}} {{{11|6}}}.{{!}}{{!}} {{{12|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{14|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{13|7}}}.{{!}}{{!}} {{{14|}}} | {{!}}align=right {{!}} {{{13|7}}}.{{!}}{{!}} {{{14|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{16|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{15|8}}}.{{!}}{{!}} {{{16|}}} | {{!}}align=right {{!}} {{{15|8}}}.{{!}}{{!}} {{{16|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{18|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{17|9}}}.{{!}}{{!}} {{{18|}}} | {{!}}align=right {{!}} {{{17|9}}}.{{!}}{{!}} {{{18|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{20|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{19|10}}}.{{!}}{{!}} {{{20|}}} | {{!}}align=right {{!}} {{{19|10}}}.{{!}}{{!}} {{{20|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{22|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{21|11}}}.{{!}}{{!}} {{{22|}}} | {{!}}align=right {{!}} {{{21|11}}}.{{!}}{{!}} {{{22|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{24|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{23|12}}}.{{!}}{{!}} {{{24|}}} | {{!}}align=right {{!}} {{{23|12}}}.{{!}}{{!}} {{{24|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{26|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{25|13}}}.{{!}}{{!}} {{{26|}}} | {{!}}align=right {{!}} {{{25|13}}}.{{!}}{{!}} {{{26|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{28|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{27|14}}}.{{!}}{{!}} {{{28|}}} | {{!}}align=right {{!}} {{{27|14}}}.{{!}}{{!}} {{{28|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{30|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{29|15}}}.{{!}}{{!}} {{{30|}}} | {{!}}align=right {{!}} {{{29|15}}}.{{!}}{{!}} {{{30|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{32|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{31|16}}}.{{!}}{{!}} {{{32|}}} | {{!}}align=right {{!}} {{{31|16}}}.{{!}}{{!}} {{{32|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{34|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{33|17}}}.{{!}}{{!}} {{{34|}}} | {{!}}align=right {{!}} {{{33|17}}}.{{!}}{{!}} {{{34|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{36|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{35|18}}}.{{!}}{{!}} {{{36|}}} | {{!}}align=right {{!}} {{{35|18}}}.{{!}}{{!}} {{{36|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{38|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{37|19}}}.{{!}}{{!}} {{{38|}}} | {{!}}align=right {{!}} {{{37|19}}}.{{!}}{{!}} {{{38|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{40|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{39|20}}}.{{!}}{{!}} {{{40|}}} | {{!}}align=right {{!}} {{{39|20}}}.{{!}}{{!}} {{{40|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{42|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{41|21}}}.{{!}}{{!}} {{{42|}}} | {{!}}align=right {{!}} {{{41|21}}}.{{!}}{{!}} {{{42|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{44|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{43|22}}}.{{!}}{{!}} {{{44|}}} | {{!}}align=right {{!}} {{{43|22}}}.{{!}}{{!}} {{{44|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{46|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{45|23}}}.{{!}}{{!}} {{{46|}}} | {{!}}align=right {{!}} {{{45|23}}}.{{!}}{{!}} {{{46|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{48|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{47|24}}}.{{!}}{{!}} {{{48|}}} | {{!}}align=right {{!}} {{{47|24}}}.{{!}}{{!}} {{{48|}}} | ||
|}} | |}} | ||
{{if | {{#if:{{{50|}}}|{{!}}- | ||
{{!}}align=right {{!}} {{{49|25}}}.{{!}}{{!}} {{{50|}}} | {{!}}align=right {{!}} {{{49|25}}}.{{!}}{{!}} {{{50|}}} | ||
|}} | |}} |
Revision as of 08:03, 5 August 2020
Usage:
{{ 1|Rotterdam| //1. Rotterdam 2|The Hague| //2. The Hague 2,5|Amsterdam| //2,5. Amsterdam |Zutphen| //4. Zutphen }}
Creation script:
var itterations=25; var output = '{|\r\n'; for (var i=0;i<itterations;i++) { var base = i+1; output=output+'{{#if:{{{'+(base*2)+'|}}}|{{!}}-\r\n'; output=output+'{{!}}align=right {{!}} {{{'+((base*2)-1)+'|'+base+'}}}.{{!}}{{!}} {{{'+(base*2)+'|}}}\r\n'; output=output+'|}}\r\n'; } output=output+'|}';