Template

Resource: Difference between revisions

No edit summary
No edit summary
Line 85: Line 85:
{{database header|RESOURCES}}
{{database header|RESOURCES}}
{{#ifeq:{{{Type|}}}|Book|<p>''All books can be viewed on the [[Books]] page''</p>}}<!--
{{#ifeq:{{{Type|}}}|Book|<p>''All books can be viewed on the [[Books]] page''</p>}}<!--
//-->{{#if:{{{URL|}}}{{{Download|}}}{{{Archive|}}}{{{National Archive|}}}{{#ifeq:{{{Saved|}}}|Yes|Yes|}}
//-->{{#if:{{{URL|}}}{{{Download|}}}{{{Archive|}}}{{{National Archive|}}}{{#ifeq:{{{Saved|}}}|Yes|Yes|}}|<p>'''Download:''' {{link|url={{{URL|}}}|text={{#if:{{{URL|}}}|URL|}}|file={{{Download|}}}|saved={{#ifeq:{{{Saved|}}}|Yes|s|}}|archive={{{Archive|}}}|natarchive={{{National Archive|}}} }}</p>}}<!--
<p>'''Download:''' {{link|url={{{URL|}}}|text={{#if:{{{URL|}}}|URL|}}|file={{{Download|}}}|saved={{#ifeq:{{{Saved|}}}|Yes|s|}}|archive={{{Archive|}}}|natarchive={{{National Archive|}}} }}</p>}}<!--
//-->{{#if:{{{ASIN|}}}|<p>'''Purchase:''' [https://www.amazon.co.uk/dp/{{{ASIN|}}}/ref=nosim?tag=mentalhealthlaw-21 Amazon link] {{#tip-info:This is an affiliate link: you will be financially supporting MHLO by using it.}}</p>}}<!--
//-->{{#if:{{{ASIN|}}}|<p>'''Purchase:''' [https://www.amazon.co.uk/dp/{{{ASIN|}}}/ref=nosim?tag=mentalhealthlaw-21 Amazon link] {{#tip-info:This is an affiliate link: you will be financially supporting MHLO by using it.}}</p>}}<!--
//-->{{#if:{{{ISBN|}}}|<p>'''Purchase:''' [https://uk.bookshop.org/a/7527/{{{ISBN|}}} Bookshop.org link] {{#tip-info:This is an affiliate link: you will be financially supporting MHLO by using it. Bookshop.org supports indepdendent bookshops.}}</p>}}<!-----------><p>'''Type:''' {{add drilldown links semicolon|table=Resources|field=Type|values={{{Type|}}} }}</p>
//-->{{#if:{{{ISBN|}}}|<p>'''Purchase:''' [https://uk.bookshop.org/a/7527/{{{ISBN|}}} Bookshop.org link] {{#tip-info:This is an affiliate link: you will be financially supporting MHLO by using it. Bookshop.org supports indepdendent bookshops.}}</p>}}<!-----------><p>'''Type:''' {{add drilldown links semicolon|table=Resources|field=Type|values={{{Type|}}} }}</p>

Revision as of 17:21, 23 January 2025

This is the "Resource" template.

Edit the page to see the template text. This template defines the table "Resources". View table.This template adds rows to the table "News", which is declared by the template News. View table.