Template:CatalogueAttribute: Difference between revisions
From The Seven Sages of Rome
Created page with "<noinclude> == Usage == Replacement for TableAttribute for the Catalogue field. Handles internal catalogue links (semicolon-separated) and external catalogue links stored as subobjects. <nowiki> {{CatalogueAttribute |internal_value=semicolon separated internal catalogue values |page=the full page name to query subobjects from }} </nowiki> </noinclude> <includeonly> | '''Catalogue''' | {{#arraymap:{{{internal_value|}}}|;|x|{{#set:Has Catalogue=x}}{{#formredlink:target=x..." |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly><div class="cc-attr-row"><div class="cc-attr-label"><span class="cc-attr-label-inner">Catalogue</span></div><div class="cc-attr-value">{{#if:{{{internal_value|}}}|{{#arraymap:{{{internal_value|}}}|;|x|{{#set:Has Catalogue=x}}{{#formredlink:target=x|form=Modern Research Literature}}|, }}}}{{#invoke:ExternalCatalogueLinks|render}}</div></div></includeonly> | ||
== | |||
</ | |||
</ | |||
< | |||
| | |||
| {{#arraymap:{{{internal_value|}}}|;|x|{{#set:Has Catalogue=x}}{{#formredlink:target=x|form=Modern Research Literature}}|, }}{{# | |||
</includeonly> | |||