GIMTranscludeForCloud
Template to streamline transclusion of content from the GIM docs (mainly PDM) to the Cloud. The template transcludes content from a Library book page with the same topic name, with the Library book version (<two-digit release>DRAFT or <two-digit release>PDMSource) determined by whether the transcluding page is in released or preview/unreleased status.
Content of the template is:
{{#if:{{{doc|}}}|{{Documentation:GIM:{{{doc}}}:{{#explode:{{FULLPAGENAME}}|:|3}}:{{#switch:{{PONYDOCSSTATUS}}
|unreleased
|preview=8.5DRAFT
|released=8.5.0}}}}|{{Documentation:GIM:Library:{{#if:{{{page|}}}|{{{page}}}|{{#explode:{{FULLPAGENAME}}|:|3}}}}:{{#switch:{{PONYDOCSSTATUS}}
|unreleased
|preview=8.5DRAFT
|released=8.5PDMSource}}}}}}
Comments or questions about this documentation? Contact us for support!
