Template:Resource: Difference between revisions
(Generated from a page schema) |
(Generated from a page schema) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Description (label=Short Description;property=Has Description;display=nonempty)|Contributor (label=Contributors/Creators;list;property=Has Contributor;display=nonempty)|Part of (label=Part of Project(s);list;property=Part of;display=nonempty)|Topic (label=Topic(s);list;property=Has Topic;display=nonempty)}} | {{#template_params:Description (label=Short Description;property=Has Description;display=nonempty)|Contributor (label=Contributors/Creators;list;property=Has Contributor;display=nonempty)|Part of (label=Part of Project(s);list;property=Part of;display=nonempty)|Topic (label=Topic(s);list;property=Has Topic;display=nonempty)|URL (property=Has URL;display=nonempty)}} | ||
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
Line 24: | Line 24: | ||
{{!}} {{#arraymap:{{{Topic|}}}|,|x|[[Has Topic::x]]}} | {{!}} {{#arraymap:{{{Topic|}}}|,|x|[[Has Topic::x]]}} | ||
}} | |||
{{#if:{{{URL|}}}| | |||
{{!}}- | |||
! URL | |||
{{!}} [[Has URL::{{{URL|}}}]] | |||
}} | }} | ||
|} | |} |
Latest revision as of 23:46, 25 October 2022
This is the "Resource" template.
It should be called in the following format:
{{Resource |Description= |Contributor= |Part of= |Topic= |URL= }}
Edit the page to see the template text.