Jump to content

Template:Story: Difference between revisions

m
in usage
(Add summary parameter)
m (in usage)
 
(2 intermediate revisions by the same user not shown)
Line 36: Line 36:
}}}}
}}}}
{{#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}}/synopsis|Synopsis]]}}
{{#if: {{{summary|}}} | [[{{PAGENAME}}/Summary|Summary]]}}
|-
|-
}}}}
}}}}
Line 59: Line 58:
| appearsin=Collection of works
| appearsin=Collection of works
| readlink=https://link-to-read.com
| readlink=https://link-to-read.com
| synopsis=true
}}
}}
</nowiki></pre>
</nowiki></pre>
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"