Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation: Difference between revisions

Template page
use titleparts to transclude Template:Foo/doc instead of Template:Foo/sandbox/doc when called from Template:Foo/sandbox
add ifexist for subpages with unique docs
Line 4: Line 4:
  |1      = {{#if:{{{1|}}}
  |1      = {{#if:{{{1|}}}
             |{{{1}}}
             |{{{1}}}
             |{{#if:{{#titleparts:{{SUBJECTPAGENAME}}|-1}}
             |{{#ifexist:{{SUBJECTPAGENAME}}/doc
            |{{#titleparts:{{SUBJECTPAGENAME}}|-1}}/doc
             |{{SUBJECTPAGENAME}}/doc
             |{{SUBJECTPAGENAME}}/doc
            |{{#if:{{#titleparts:{{SUBJECTPAGENAME}}|-1}}
              |{{#titleparts:{{SUBJECTPAGENAME}}|-1}}/doc
              |{{SUBJECTPAGENAME}}/doc
              }}
             }}
             }}
             }}
             }}

Revision as of 22:30, 25 August 2021

Cookies help us deliver our services. By using our services, you agree to our use of cookies.