Difference between revisions of "Template:Resource"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 24: | Line 24: | ||
{{#ifeq:{{{Resource Type|}}}|Interactive|{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}}}<!-- /PREPEND --><!-- | {{#ifeq:{{{Resource Type|}}}|Interactive|{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}}}<!-- /PREPEND --><!-- | ||
| − | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About"> | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Has Related Initiative|}}} |<h2>{{int:EGS Has Related Initiative}}</h2><div class="mw-field-value" data-property="Has Related Initiative"> |
| + | [[{{{Has Related Initiative|}}}]] </div>| }}{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About"> | ||
{{{Is About|}}} </div>| }}{{#if: {{{Important Because|}}} |<h2>{{int:EGS Important Because}}</h2><div class="mw-field-value" data-property="Important Because"> | {{{Is About|}}} </div>| }}{{#if: {{{Important Because|}}} |<h2>{{int:EGS Important Because}}</h2><div class="mw-field-value" data-property="Important Because"> | ||
{{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |<h2>{{int:EGS Important For}}</h2><div class="mw-field-value" data-property="Important For"> | {{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |<h2>{{int:EGS Important For}}</h2><div class="mw-field-value" data-property="Important For"> | ||
| Line 40: | Line 41: | ||
<!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | <!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | ||
| − | <!-- APPROVABLE_BY -->{{#approvable_by:groups=approver-resource}}<!-- /APPROVABLE_BY --><!-- | + | <!-- APPROVABLE_BY -->{{#if:{{#approvable_by:}}||{{#approvable_by:groups=approver-resource}}}}<!-- /APPROVABLE_BY --><!-- |
<!-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly> | <!-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly> | ||
Latest revision as of 13:26, 22 July 2025
Usage
{{Resource
|Resource Type=
|Title=
|Has Related Initiative=
|Is About=
|Important Because=
|Important For=
|Has Best Practice=
}}
