Jump to content

Template:Ref/Content: Difference between revisions

From Worm Wiki
Puxlit (talk | contribs)
Implement body generation helper for Template:Ref
 
Puxlit (talk | contribs)
Add kludge for splatting out direct link to chapter (once DPL is enabled)
Line 4: Line 4:
     -->|<!-- We're a chapter...
     -->|<!-- We're a chapter...
         -->{{#if:{{{excerpt|}}}|&#32;&mdash;&#32;}}<!--
         -->{{#if:{{{excerpt|}}}|&#32;&mdash;&#32;}}<!--
        -->{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{{chapter}}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt]&#32;,}}from&#32;}}<!--
         -->[[{{{chapter}}}]]<!--
         -->[[{{{chapter}}}]]<!--
  -->|{{#if:{{{link|}}}<!--
  -->|{{#if:{{{link|}}}<!--

Revision as of 18:53, May 9, 2020

This is a helper template for {{Ref{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}. It is responsible for generating the input to a <ref/> parser tag, and should not be transcluded directly.