Template:Shop item: Difference between revisions
No edit summary |
No edit summary |
||
(57 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<li class="publication"> | <noinclude> | ||
<p class="title">[[{{publication_name}}]]</p> | This is the "Shop item" template. | ||
[[{{cover_image}}|thumb]] | It should be called in the following format: | ||
<pre> | |||
{{Shop item | |||
|publication_name= | |||
|cover_image= | |||
|buy_link= | |||
|buy_link_text= | |||
}} | |||
</pre> | |||
Edit the page to see the template text. | |||
</noinclude> | |||
<includeonly> | |||
<li class="publication publishing-item {{#if:{{{buy_link|}}}||sold_out}}"> | |||
<p class="title">[[{{{publication_name}}}]]</p> | |||
<p class="cover image">[[{{{cover_image}}}|thumb]]</p> | |||
<p class="buying"> | <p class="buying"> | ||
[{{buy_link}} {{buy_link_text}}] | {{#if: {{{buy_link|}}} | ||
| [{{{buy_link}}} {{{buy_link_text}}}] | |||
| [[{{{publication_name}}}|{{{buy_link_text}}}]] | |||
}} | |||
</p> | </p> | ||
</li> | </li> | ||
</includeonly> |
Latest revision as of 15:24, 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.