Skillnad mellan versioner av "Mall:Avsnitt hierarki"
Från wpu.nu
m |
m |
||
Rad 11: | Rad 11: | ||
nummerbotten<br> | nummerbotten<br> | ||
'''{{#sub:{{PAGENAME}}|0|1}}''' - {{#ask: [[Avsnitt:{{#sub:{{PAGENAME}}|0|1}}]]|?Har Rubrik=|format=plain|mainlabel=-}}<br> | '''{{#sub:{{PAGENAME}}|0|1}}''' - {{#ask: [[Avsnitt:{{#sub:{{PAGENAME}}|0|1}}]]|?Har Rubrik=|format=plain|mainlabel=-}}<br> | ||
− | {{#ifexpr:{{len:{{{Avsnittsbokstav|}}}}} > 1| -> '''{{#sub:{{PAGENAME}}|0|2}}''' - {{#ask: [[Avsnitt: | + | {{#ifexpr:{{len:{{{Avsnittsbokstav|}}}}} > 1| -> '''{{#sub:{{PAGENAME}}|0|2}}''' - {{#ask: [[Avsnitt:XA]]|?Har Rubrik=|format=plain|mainlabel=-}}<br>|blupp2}} |
<!--  [[file:curved-arrow-centered.png|12px]] '''{{#sub:{{PAGENAME}}|0|3}}''' - {{#ask: [[Avsnitt:{{#sub:{{PAGENAME}}|0|3}}]]|?Har Rubrik=|format=plain|mainlabel=-}}<br> | <!--  [[file:curved-arrow-centered.png|12px]] '''{{#sub:{{PAGENAME}}|0|3}}''' - {{#ask: [[Avsnitt:{{#sub:{{PAGENAME}}|0|3}}]]|?Har Rubrik=|format=plain|mainlabel=-}}<br> | ||
   [[file:curved-arrow-centered.png|12px]] {{#if:{{{Rubrik|}}}|'''{{PAGENAME}}''' - {{{Rubrik|}}}|'''{{#replace:{{PAGENAME}}|.|}}'''}}--> |    [[file:curved-arrow-centered.png|12px]] {{#if:{{{Rubrik|}}}|'''{{PAGENAME}}''' - {{{Rubrik|}}}|'''{{#replace:{{PAGENAME}}|.|}}'''}}--> | ||
Rad 26: | Rad 26: | ||
{{#if:{{{Rubrik|}}}|{{DISPLAYTITLE:{{PAGENAME}} - {{{Rubrik|}}}}}|{{DISPLAYTITLE:{{#replace:{{PAGENAME}}|.|}}}}}} | {{#if:{{{Rubrik|}}}|{{DISPLAYTITLE:{{PAGENAME}} - {{{Rubrik|}}}}}|{{DISPLAYTITLE:{{#replace:{{PAGENAME}}|.|}}}}}} | ||
[[file:curved-arrow-centered.png|12px]] | [[file:curved-arrow-centered.png|12px]] | ||
+ | {{#sub:{{PAGENAME}}|0|2}} |