Difference between revisions of "Template:Resource"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 21: Line 21:
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} | <h2>{{int:EGS Is About}}</h2><p data-property="Is About">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |
{{{Is About|}}}</p>|}}{{#if: {{{Important Because|}}} | <h2>{{int:EGS Important Because}}</h2><p data-property="Important Because">
+
<h2>{{int:EGS Is About}}</h2>
{{{Important Because|}}}</p>|}}{{#if: {{{Important For|}}} | <h2>{{int:EGS Important For}}</h2><p data-property="Important For">
+
<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">
 +
{{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |
 +
<h2>{{int:EGS Important For}}</h2>
 +
<div class="mw-field-value" data-property="Important For">
 
{{#arraymap:{{{Important For|}}}
 
{{#arraymap:{{{Important For|}}}
 
   |;
 
   |;
Line 29: Line 35:
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
 
   |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span>
 
   |&nbsp;
 
   |&nbsp;
}}</p>|}}{{#if: {{{Has Best Practice|}}} | <h2>{{int:EGS Has Best Practice}}</h2><p data-property="Has Best Practice">
+
}} </div>| }}{{#if: {{{Has Best Practice|}}} |
{{{Has Best Practice|}}}</p>|}}<!-- /DISPLAY --><!--
+
<h2>{{int:EGS Has Best Practice}}</h2>
 +
<div class="mw-field-value" data-property="Has Best Practice">
 +
{{{Has Best Practice|}}} </div>| }}<!-- /DISPLAY --><!--
  
 
<-- SMW ANNOTATION -->[[Resource Type::{{{Resource Type|}}}| ]][[Title::{{{Title|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}[[Has Best Practice::{{{Has Best Practice|}}}| ]]<!-- /SMW ANNOTATION --><!--
 
<-- SMW ANNOTATION -->[[Resource Type::{{{Resource Type|}}}| ]][[Title::{{{Title|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}[[Has Best Practice::{{{Has Best Practice|}}}| ]]<!-- /SMW ANNOTATION --><!--

Revision as of 16:37, 10 September 2020

Usage

{{Resource
  |Resource Type=
  |Title=
  |Is About=
  |Important Because=
  |Important For=
  |Has Best Practice=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6