Template:Shop item: Difference between revisions

From Hackers & Designers
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 14: Line 14:


<includeonly>
<includeonly>
{{#if: {{{buy_link|}}} | yes | no }}
{{if: {{{buy_link|}}} | yes | no }}
<li class="publication publishing-item">
    <p class="title">[[{{{publication_name}}}]]</p>
    <p class="cover image">[[{{{cover_image}}}|thumb]]</p>
    <p class="buying">
      {{#if: {{{buy_link|}}} | [{{{buy_link}}} {{{buy_link_text}}}] | [[{{{publication_name}}}|{{{buy_link_text}}}]] }}
    </p>
</li>
</includeonly>
</includeonly>

Revision as of 15:01, 30 October 2024

This is the "Shop item" template. It should be called in the following format:

{{Shop item
|publication_name=
|cover_image=
|buy_link=
|buy_link_text=
}}

Edit the page to see the template text.