Revision as of 17:20, December 11, 2014 by Bgrenon (talk | contribs)
Jump to: navigation, search

Optionslink

Handles in-content lightbox links to individual options. Used by writers, in their regular content, instead of direct links to option descriptions.

Phantom Template

  • Template:Optionstmp.dpl2 — Controls how option is printed out in the lightbox call. Includes logic for applying change bars to draft content. Includes links to the option in the reference guide.
{{#ppin:{{#dpl:
|namespace=Options
|titlematch=%{{#explode:{{{link}}}|:|1}}:{{#explode:{{{link}}}|:|2}}:{{#explode:{{{link}}}|:|3}}%
|includematch={{#switch:{{PONYDOCSSTATUS}} |unreleased=/docstatus{{=}}Published{{!}}docstatus{{=}}Draft/|/docstatus{{=}}Published/}}
|include={Optionstmp}.dpl2
|mode=userformat}}|{{{option}}}|450|450|450|900}}

Comments or questions about this documentation? Contact us for support!