Jump to content

Template:Resource: Difference between revisions

From WYOS Wiki
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
| colspan="2" style="text-align:center;" | [[File:{{{Image|}}}|290px]]
| colspan="2" style="text-align:center;" | {{#if:{{{Image|}}}|[[File:{{{Image}}}|290px]]|''No image''}}
{{#if:{{{Author|}}}|
|-
  |-
! Type
  ! Author
| {{{Resource Type|}}}
  | [[Has author::{{{Author|}}}]]
{{#if:{{{Display Title|}}}|{{!}}-
! Display Title
{{!}} {{{Display Title}}}
}}
}}
{{#if:{{{Creator|}}}|
{{#if:{{{Subtitle|}}}|{{!}}-
  |-
! Subtitle
  ! Creator
{{!}} {{{Subtitle|}}}
  | [[Has author::{{{Creator|}}}]]
}}
{{#if:{{{Author|}}}|{{!}}-
! Author
{{!}} [[Has author::{{{Author|}}}]]
}}
}}
|-
|-
! Tags
! Topics
| {{{Topic Tags|}}}
| {{{Topic Tags|}}}
|-
! Categories
| {{{Main Categories|}}}
|-
|-
! URL
! URL
| [[Has url::{{{URL|}}}]]
| [[Has url::{{{URL|}}}]]
|-
! Status
| [[Has status::{{{Status|Draft}}}]]
|-
|-
! Featured?
! Featured?
| [[Is featured::{{{Is Featured|}}}]]
| [[Is featured::{{{Is Featured|}}}]]
{{#if:{{{Description|}}}|{{!}}-
! Description
{{!}} {{{Description}}}
}}
|}
|}
<div style="display:none;">
<div style="display:none;">
<!-- Invisible Data Section -->
<!-- Invisible Data Section -->
[[Category:Resources]]
[[Has status::{{{Status|Draft}}}]]
[[Has resource type::{{{Resource Type|}}}]]
[[Has resource type::{{{Resource Type|}}}]]
[[Has display title::{{{Display Title|}}}]]
[[Has image::{{{Image|}}}]]
[[Has image::{{{Image|}}}]]
[[Has description::{{{Description|}}}]]
[[Has description::{{{Description|}}}]]
[[Has subtitle::{{{Subtitle|}}}]]
{{#arraymap:{{{Topic Tags|}}}|,|x|[[Has topic tag::x]]}}
{{#arraymap:{{{Topic Tags|}}}|,|x|[[Has topic tag::x]]}}
{{#arraymap:{{{Main Categories|}}}|,|x|[[Belongs to main category::x]]}}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
This is the master template for all resources. It should not be used directly on content pages.
This is the master template for all resources.
</noinclude>
</noinclude>

Latest revision as of 19:46, 29 July 2025

This is the master template for all resources.