Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
WYOS Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Resource
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Refresh
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly> <!-- ================================================================== == VISIBLE INFOBOX - For display on the wiki page only. ================================================================== --> {| class="wikitable wyos-infobox" style="float:right; margin-left:1em; width:300px;" | colspan="2" style="text-align:center;" | {{#if:{{{Image|}}}|[[File:{{{Image}}}|290px]]|''No image provided''}} {{#if:{{{Display Title|}}}| {{!}}- ! Display Title {{!}} {{{Display Title}}} }} {{#if:{{{Subtitle|}}}| {{!}}- ! Subtitle {{!}} {{{Subtitle}}} }} {{#if:{{{Resource Type|}}}| {{!}}- ! Type {{!}} [[{{{Resource Type}}}]] }} {{#if:{{{Author|}}}| {{!}}- ! Author/Creator {{!}} {{{Author}}} }} {{#if:{{{URL|}}}| {{!}}- ! URL {{!}} [{{{URL}}} Visit Site] }} {{#if:{{{Topic Tags|}}}| {{!}}- ! Topics {{!}} {{#arraymap:{{{Topic Tags}}}|,|x|[[x|{{#replace:x|Tag:|}}]]|, }} }} {{#if:{{{Status|}}}| {{!}}- ! Status {{!}} {{{Status}}} }} {{#if:{{{Is Featured|}}}| {{!}}- ! Featured {{!}} {{#ifeq:{{lc:{{{Is Featured|no}}}}}|yes|Yes|No}} }} {{#if:{{{Owner|}}}| {{!}}- ! Owner {{!}} [[{{#ifeq:{{lc:{{#titleparts:{{{Owner}}}|1|1}}}}|user|{{{Owner}}}|User:{{{Owner}}}}}|{{#replace:{{{Owner}}}|User:|}}]] }} {{#if:{{{Description|}}}| {{!}}- ! Description {{!}} {{{Description}}} }} |} <!-- ================================================================== == HIDDEN SEMANTIC DATA - The single source of truth for your headless CMS. ================================================================== --> <div style="display:none;"> [[Category:Resources]] <!-- Set controlled vocabulary properties. Default status is 'Draft'. --> [[Has status::{{{Status|Draft}}}]] {{#if:{{{Resource Type|}}} | [[Has resource type::{{{Resource Type}}}]] }} <!-- Set standard properties only if a value is provided. --> {{#if:{{{Display Title|}}} | [[Has display title::{{{Display Title}}}]] }} {{#if:{{{Subtitle|}}} | [[Has subtitle::{{{Subtitle}}}]] }} {{#if:{{{Description|}}} | [[Has description::{{{Description}}}]] }} {{#if:{{{URL|}}} | [[Has url::{{{URL}}}]] }} {{#if:{{{Author|}}} | [[Has author::{{{Author}}}]] }} <!-- Robust Owner Handling: Adds 'User:' prefix only if it's missing. --> {{#if:{{{Owner|}}} | [[Has owner::{{#ifeq:{{lc:{{#titleparts:{{{Owner}}}|1|1}}}}|user|{{{Owner}}}|User:{{{Owner}}}}}]] }} <!-- Robust image handling: adds 'File:' prefix only if user forgets it. --> {{#if:{{{Image|}}} | [[Has image::{{#ifeq:{{lc:{{#titleparts:{{{Image}}}|1|1}}}}|file|{{{Image}}}|File:{{{Image}}}}}]] }} <!-- Set boolean property to return true/false for the API. --> [[Is featured::{{#ifeq:{{lc:{{{Is Featured|no}}}}}|yes|true|false}}]] {{#if:{{{Topic Tags|}}} | {{#arraymap:{{{Topic Tags}}}|,|x|[[Has topic tag::x]]|\s}} }} </div> <!-- ================================================================== == CONTENT - This displays the main body of the article. ================================================================== --> {{{Content|}}} </includeonly><noinclude> '''Template:Resource''' Master template for Resource entries. Call via type wrappers only (e.g., <nowiki>{{Book|β¦}}</nowiki>). Handles infobox and shared semantics for headless API pulls. <templatedata> { "params": { "Image": { "label": "Image", "description": "Filename of the image for the infobox (e.g., \"Tool_Logo.png\").", "type": "wiki-file-name" }, "Display Title": { "label": "Display Title", "description": "Primary, user-facing title of the resource.", "type": "line" }, "Subtitle": { "label": "Subtitle", "description": "Short descriptive tagline.", "type": "line" }, "Resource Type": { "label": "Resource Type", "description": "Type of resource (e.g., Book, App, Course). Set by wrapper templates.", "type": "wiki-page-name" }, "Author": { "label": "Author/Creator", "description": "Creator, publisher, or vendor as appropriate.", "type": "line" }, "URL": { "label": "URL", "description": "Primary external link (homepage, store page, etc.).", "type": "url" }, "Topic Tags": { "label": "Topic Tags", "description": "Comma-separated Topic Tags. Enter either \"Tag:Habits, Tag:Productivity\" or \"Habits, Productivity\".", "type": "line", "required": true }, "Status": { "label": "Status", "description": "Publication status. Only Published should surface on the front end.", "type": "line", "suggestedvalues": [ "Draft", "Published", "Archived" ], "default": "Draft", "required": true }, "Is Featured": { "label": "Featured?", "description": "Set to 'yes' to highlight this item.", "type": "boolean" }, "Owner": { "label": "Owner", "description": "Responsible username (no \"User:\" prefix).", "type": "wiki-user-name", "required": true }, "Description": { "label": "Description", "description": "Short 1β2 sentence summary shown on cards and lists.", "type": "string", "required": true }, "Content": { "label": "Main Content", "description": "Body content; wikitext/VisualEditor supported.", "type": "content", "suggested": true } }, "description": "Master template for all Resource entries. Use via type-specific wrappers (e.g., Book, App).", "format": "block" } </templatedata> </noinclude>
Summary:
Please note that all contributions to WYOS Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WYOS Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)