Template:Archive heading: Difference between revisions
no edit summary
imported>BravelyPeculiar No edit summary |
imported>BravelyPeculiar No edit summary |
||
Line 1: | Line 1: | ||
<h2>{{#vardefine: titleparts |{{#titleparts: PAGENAME | -1 | 2 }}}} | <h2>{{#vardefine: titleparts |{{#titleparts: PAGENAME | -1 | 2 }}}} | ||
{{#vardefine: link_text |{{{archive|Content}}}/{{#var: titleparts}}}} | {{#vardefine: link_text |{{{archive|Content}}}/{{#var: titleparts}}}} | ||
{{#if: {{#var: titleparts}} | [[Content/{{#var: titleparts}}#{{#var: link_text}}|{{#var: link_text}}]]|[[{{{archive}}}]]}}/SUBPAGENAME</h2> | {{#if: {{#var: titleparts}} | [[Content/{{#var: titleparts}}#{{#var: link_text}}|{{#var: link_text}}]]|[[{{{archive|Content}}}]]}}/SUBPAGENAME</h2> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |