Difference between revisions of "Template:Guideline"

From LINKS Community Center
Jump to: navigation, search
(Generated from a page schema)
 
(104 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Guideline" template.
+
Template for a Guideline profile.<br>
It should be called in the following format:
+
<span style="color: red; font-weight: bold;">Still in development!</span>
<pre>
+
</noinclude><includeonly>
{{Guideline
+
<div hidden aria-hidden="true" style="display: none; position: absolute; width: 1px; height: 1px;">
|Primary Target Country=
+
<!--
|Publishing Organisation=
+
    The following is required for API queries.
|Language=
+
    Every property that is queried by the corresponding list widget must be set here.
|Year Published=
+
-->
|Primary Target Group=
+
  [[Primary Target Country::{{{Primary Target Country|}}}]]
|Status=
+
  [[Publishing Organisation::{{{Publishing Organisation|}}}]]
|Disaster Management Phase=
+
  {{#arraymap:{{{Language|}}}|,|x|[[Language::x]]}}
|Covers Usage Of=
+
  [[Year Published::{{{Year Published|}}}]]
|Source Website=
+
  {{#arraymap:{{{Target Audience|}}}|,|x|[[Target Audience::x]]}}
 +
  [[Status::{{{Status|}}}]]
 +
  {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}
 +
  {{#arraymap:{{{Covers Thematic|}}}|,|x|[[Covers Thematic::x]]}}
 +
  {{#arraymap:{{{Audience Experience Level|}}}|,|y|[[Audience Experience Level::y]]}}
 +
  [[Source Website::{{{Source Website|}}}]]
 +
  [[Synopsis::{{{Synopsis|}}}]]
 +
  [[Is Archived::{{{Is Archived|}}}]]
 +
  {{#arraymap:{{{Data Sources|}}}|,|x|[[Data Sources::x]]}}
 +
  {{#arraymap:{{{Technologies|}}}|,|x|[[Technologies::x]]}}
 +
</div>
 +
<div id="dct-back-link" class="gl-back-link">
 +
  <div>[[File:Lcc-guidelines.svg|class=gl-icon|link=|Guidelines Icon]][[List of Guidelines|View all Guidelines]]</div>
 +
  <div class="dct-page-info">Created: {{#show: {{FULLPAGENAME}} |?Creation date#-F[j F Y] }}<br>
 +
  Last edited: {{#show: {{FULLPAGENAME}} |?Modification date#-F[j F Y] }}</div>
 +
</div>
 +
{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<div id="dct-profile" class="gl-profile">
 +
<div class="section dct-meta anim-border d-flex justify-content-between align-items-center">
 +
<h1>{{PAGENAME}}</h1>
 +
{{#if: {{{Source Website|}}} | <div class="ext-link-button">[{{{Source Website|}}} Source]</div> |}}
 +
</div>
 +
<div class="section dct-desc anim-border">
 +
<h2>Quick Facts</h2>
 +
<div class="mb-4"></div>
 +
<div class="d-flex">
 +
{{#if: {{{Publishing Organisation|}}} | <div class="mr-4"><h6 class="d-inline">Publishing Organisation:</h6> {{{Publishing Organisation|}}}</div> |}}
 +
{{#if: {{{Year Published|}}} | <div class="mr-4"><h6 class="d-inline">Year:</h6> {{{Year Published|}}}</div> |}}
 +
{{#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> |}}
 +
{{#if: {{{Status|}}} | <div class="mr-4"><h6 class="d-inline">Status:</h6> {{{Status|}}} </div> |}}
 +
</div>
 +
</div>
 +
<div class="section dct-info anim-border">
 +
<div>
 +
<h5>Covers Thematic</h5>
 +
{{#arraymaptemplate:{{{Covers Thematic|}}}|TooltipGl|,|}}
 +
</div>
 +
<div>
 +
<h5>Target audience</h5>
 +
{{#arraymaptemplate:{{{Target Audience|}}}|TooltipGl|,|}}
 +
</div>
 +
<div>
 +
<h5>Audience experience level</h5>
 +
{{#arraymaptemplate:{{{Audience Experience Level|}}}|TooltipGl|,|}}
 +
</div>
 +
<div>
 +
<h5>Disaster Management Phase</h5>
 +
{{#arraymaptemplate:{{{Disaster Management Phase|}}}|TooltipGl|,|}}
 +
</div></div>
 +
<div class="section anim-border">
 +
<div>
 +
<h5>Synopsis</h5>
 +
{{{Synopsis|No synopsis provided.}}}
 +
</div>
 +
</div>
 +
<div class="section dct-more">
 +
<h2>Linked to</h2>
 +
<ul>
 +
<li>Technologies</li>
 +
<ul>
 +
{{#if: {{{Technologies|}}} |
 +
{{#arraymap:{{{Technologies|}}}|,|x|<li>[[Technologies::x]]</li>|\s}}
 +
| None. [[List of Disaster Community Technologies|See all Technologies]]. }}
 +
</ul>
 +
<li>Use Cases</li>
 +
<div>
 +
{{#ask: [[Category:Use Cases]]
 +
[[Used guidelines::{{PAGENAME}}]]
 +
|default= <ul>None. [[List of Use Cases|See all Use Cases]].</ul>
 +
|format=ul
 
}}
 
}}
</pre>
+
</div>
Edit the page to see the template text.
+
</ul>
</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;"
+
</div>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
</div>
|-
 
! Primary Target Country
 
| [[Primary Target Country::{{{Primary Target Country|}}}]]
 
|-
 
! Publishing Organisation
 
| [[Publishing Organisation::{{{Publishing Organisation|}}}]]
 
|-
 
! Language
 
| {{#arraymap:{{{Language|}}}|,|x|[[Language::x]]}}
 
 
 
|-
 
! Year Published
 
| [[Year Published::{{{Year Published|}}}]]
 
|-
 
! Primary Target Group
 
| {{#arraymap:{{{Primary Target Group|}}}|,|x|[[Primary Target Group::x]]}}
 
 
 
|-
 
! Status
 
| [[Status::{{{Status|}}}]]
 
|-
 
! Disaster Management Phase
 
| {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}
 
 
 
|-
 
! Covers Usage Of
 
| {{#arraymap:{{{Covers Usage Of|}}}|,|x|[[Covers Usage Of::x]]}}
 
 
 
|-
 
! Source Website
 
| [[Source Website::{{{Source Website|}}}]]
 
|}
 
 
 
 
[[Category:Guideline]]
 
[[Category:Guideline]]
 +
__FORUM__
 
</includeonly>
 
</includeonly>

Latest revision as of 14:01, 2 August 2023

Template for a Guideline profile.
Still in development!