Template: Guideline: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Cschwentker (talk | contribs)
No edit summary
Cschwentker (talk | contribs)
(Generated from a page schema)
Line 1: Line 1:
<noinclude>
<noinclude>
Template for a Guideline profile.<br>
{{#template_params:Primary Target Country (property=Primary Target Country)|Publishing Organisation (property=Publishing Organisation)|Language (list;property=Language)|Year Published (property=Year Published)|Target Audience (list;property=Target Audience)|Status (property=Status)|Disaster Management Phase (list;property=Disaster Management Phase)|Covers Thematic (list;property=Covers Thematic)|Audience Experience Level (list;property=Audience Experience Level)|Source Website (property=Source Website)|Abstract (property=Abstract)|Is Archived (property=Is Archived)|Data Sources (label=Covers platforms;list;property=Data Sources)|Technologies (label=Covers Technologies;list;property=Technologies)}}
<span style="color: red; font-weight: bold;">Still in development!</span>
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! Primary Target Country
<div hidden aria-hidden="true" style="display: none; position: absolute; width: 1px; height: 1px;">
| [[Primary Target Country::{{{Primary Target Country|}}}]]
<!--
|-
    The following is required for API queries.
! Publishing Organisation
    Every property that is queried by the corresponding list widget must be set here.
| [[Publishing Organisation::{{{Publishing Organisation|}}}]]
-->
|-
  [[Primary Target Country::{{{Primary Target Country|}}}]]
! Language
  [[Publishing Organisation::{{{Publishing Organisation|}}}]]
| {{#arraymap:{{{Language|}}}|,|x|[[Language::x]]}}
  {{#arraymap:{{{Language|}}}|,|x|[[Language::x]]}}
 
  [[Year Published::{{{Year Published|}}}]]
|-
  {{#arraymap:{{{Target Audience|}}}|,|x|[[Target Audience::x]]}}
! Year Published
  [[Status::{{{Status|}}}]]
| [[Year Published::{{{Year Published|}}}]]
  {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}
|-
  {{#arraymap:{{{Covers Thematic|}}}|,|x|[[Covers Thematic::x]]}}
! Target Audience
  {{#arraymap:{{{Audience Experience Level|}}}|,|y|[[Audience Experience Level::y]]}}
| {{#arraymap:{{{Target Audience|}}}|,|x|[[Target Audience::x]]}}
  [[Source Website::{{{Source Website|}}}]]
 
  [[Abstract::{{{Abstract|}}}]]
|-
  [[Is Archived::{{{Is Archived|}}}]]  
! Status
  {{#arraymap:{{{Data Sources|}}}|,|x|[[Data Sources::x]]}}
| [[Status::{{{Status|}}}]]
  {{#arraymap:{{{Technologies|}}}|,|x|[[Technologies::x]]}}
|-
</div>
! Disaster Management Phase
<div id="dct-back-link">
| {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}
<div>[[File:Lcc-guidelines.svg|class=dct-icon|link=|Guidelines Icon]][[List of Guidelines|View all Guidelines]]</div>
 
<div class="dct-page-info">Created: {{{Entry Created At|}}}<br>
|-
Reviewed: {{{Entry Last Reviewed|}}}</div>
! Covers Thematic
</div></div>
| {{#arraymap:{{{Covers Thematic|}}}|,|x|[[Covers Thematic::x]]}}
{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<div id="dct-profile" class="uc-profile">
 
<div class="section dct-meta anim-border d-flex justify-content-between align-items-center">
|-
<h1>{{PAGENAME}}</h1>
! Audience Experience Level
<div>[{{{Source Website|}}} Source]</div>
| {{#arraymap:{{{Audience Experience Level|}}}|,|y|[[Audience Experience Level::y]]}}
</div>
 
<div class="section dct-desc anim-border">
|-
<h2>Quick Facts</h2>
! Source Website
<div class="mb-4"></div>
| [[Source Website::{{{Source Website|}}}]]
<div class="d-flex">
|-
{{#if: {{{Publishing Organisation|}}} | <div class="mr-4"><h6 class="d-inline">Publishing Organisation:</h6> {{{Publishing Organisation|}}}</div> |}}
! Abstract
{{#if: {{{Year Published|}}} | <div class="mr-4"><h6 class="d-inline">Year:</h6> {{{Year Published|}}}</div> |}}
| [[Abstract::{{{Abstract|}}}]]
{{#if: {{{Primary Target Country|}}} | <div class="mr-4"><h6 class="d-inline">Primary Target Country:</h6> {{{Primary Target Country|}}}</div> |}}
|-
{{#if: {{{Language|}}} | <div class="mr-4"><h6 class="d-inline">Languages:</h6> {{#arraymap:{{{Language|}}}|,|x| x }} </div> |}}
! Is Archived
{{#if: {{{Status|}}} | <div class="mr-4"><h6 class="d-inline">Status:</h6> {{{Status|}}} </div> |}}
| [[Is Archived::{{{Is Archived|}}}]]
</div>
|-
</div>
! Covers platforms
<div class="section dct-info anim-border">
| {{#arraymap:{{{Data Sources|}}}|,|x|[[Data Sources::x]]}}
<div>
 
<h5>Covers Thematic</h5>
|-
  {{#arraymap:{{{Covers Thematic|}}}|,|x|<li>x</li>|\s}}
! Covers Technologies
</div>
| {{#arraymap:{{{Technologies|}}}|,|x|[[Technologies::x]]}}
<div>
 
<h5>Target audience</h5>
|}
  {{#arraymap:{{{Target Audience|}}}|,|x|<li>x</li>|\s}}
 
</div>
<div>
<h5>Audience experience level</h5>
  {{#arraymap:{{{Audience Experience Level|}}}|,|x|<li>x</li>|\s}}
</div>
<div>
<h5>Disaster Management Phase</h5>
  {{#arraymap:{{{Disaster Management Phase|}}}|,|x|<li>x</li>|\s}}
</div>
{{#if: {{{Data Sources|}}} }}<div><h5>Covers platforms</h5>{{#arraymaptemplate:{{{Data Sources|}}}|SourceLogo|,|}}</div>
{{#if: {{{Technologies|}}} }}<div><h5>Covers Technologies</h5>{{#arraymap:{{{Technologies|}}}|,|x|[[Technologies::x]]}}</div>
</div>
<div class="section anim-border">
<div>
<h5>Abstract</h5>
{{{Abstract|No abstract provided.}}}
</div>
</div>
[[Category:Guideline]]
[[Category:Guideline]]
</includeonly>
</includeonly>

Revision as of 09:48, 21 November 2022

This is the "Guideline" template.

It should be called in the following format:

{{Guideline
|Primary Target Country=
|Publishing Organisation=
|Language=
|Year Published=
|Target Audience=
|Status=
|Disaster Management Phase=
|Covers Thematic=
|Audience Experience Level=
|Source Website=
|Abstract=
|Is Archived=
|Data Sources=
|Technologies=
}}

Edit the page to see the template text.