Template:Documentation: Difference between revisions
Template page
More actions
Fix for template loop at Template:Licensed-PD-Art-two when transcluding documentation. |
use titleparts to transclude Template:Foo/doc instead of Template:Foo/sandbox/doc when called from Template:Foo/sandbox |
||
| Line 2: | Line 2: | ||
|base = Documentation | |base = Documentation | ||
|lang = {{{lang|{{int:Lang}} }}} | |lang = {{{lang|{{int:Lang}} }}} | ||
|1 = {{{1|{{SUBJECTPAGENAME}}/doc}}} | |1 = {{#if:{{{1|}}} | ||
|{{{1}}} | |||
|{{#if:{{#titleparts:{{SUBJECTPAGENAME}}|-1}} | |||
|{{#titleparts:{{SUBJECTPAGENAME}}|-1}}/doc | |||
|{{SUBJECTPAGENAME}}/doc | |||
}} | |||
}} | |||
|2 = {{{heading|{{{2|}}} }}} | |2 = {{{heading|{{{2|}}} }}} | ||
|content = {{{content|}}} | |content = {{{content|}}} | ||