Jump to content

Template:Story: Difference between revisions

m
Synopsis, not summary
(Add summary parameter)
m (Synopsis, not summary)
Line 37: Line 37:
{{#if: {{{readlink|}}} | {{pipe escape |
{{#if: {{{readlink|}}} | {{pipe escape |
! colspan{{=}}"2" style{{=}}"text-align: center" | [{{{readlink}}} Read here]
! colspan{{=}}"2" style{{=}}"text-align: center" | [{{{readlink}}} Read here]
{{#if: {{{summary|}}} | [[{{PAGENAME}}/Summary|Summary]]}}
{{#if: {{{summary|}}} | [[{{PAGENAME}}/synopsis|Synopsis]]}}
|-
|-
}}}}
}}}}
Line 225: Line 225:
         "summary": {
         "summary": {
             "label": "Has summary",
             "label": "Has summary",
             "description": "Whether or not to link to a summary page",
             "description": "Whether or not to link to a synopsis page (synopsis page name must be PAGENAME/synopsis",
             "example": "true",
             "example": "true",
             "type": "boolean"
             "type": "boolean"