Jump to content

Template:Website: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
|rss
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 79: Line 79:
</poem>
</poem>
</noinclude><includeonly>{{SMWObjectHeader|Website}}<div style="border-style:solid; border-width:1px; border-color:#a7d7f9; margin:0px; background-color:#f5f5f5; padding: 0.5em; margin-right:0px;">
</noinclude><includeonly>{{SMWObjectHeader|Website}}<div style="border-style:solid; border-width:1px; border-color:#a7d7f9; margin:0px; background-color:#f5f5f5; padding: 0.5em; margin-right:0px;">
{{Description|{{{description|}}}}}{{#if: {{{logo|}}} | [[Has logo::File:{{{logo|}}}| ]][[Has logo2::File:{{{logo|}}}| ]][[File:{{{logo|}}}|right{{#if: {{{logo_width|}}}|{{!}}{{{logo_width}}}}}]] |}}{{#if: {{{image|}}} | [[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]][[File:{{{image|}}}|{{#if: {{{image_caption|}}}|thumbnail{{!}}{{{image_caption|}}}{{!}}}}right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}}}]] |}}{{Infobox class icon}}<big>{{#if: {{{archive|}}} |'''&nbsp;[{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''&nbsp;[[Has URL::{{{URL}}}]] '''}}</big> {{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia}}}| ]]}}{{#if: {{{WP|}}}|[[Has wikipediaPage2::{{{WP}}}| ]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{External icons
{{Description|{{{description|}}}}}{{#if: {{{logo|}}} | [[File:{{{logo|}}}|right{{#if: {{{logo_width|}}}|{{!}}{{{logo_width}}}}}]] |}}{{#if: {{{image|}}} | [[File:{{{image|}}}|{{#if: {{{image_caption|}}}|thumbnail{{!}}{{{image_caption|}}}{{!}}}}right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}}}]] |}}{{Infobox class icon}}<big>{{#if: {{{archive|}}} |'''&nbsp;[{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''&nbsp;{{{URL}}} '''}}</big> {{#if: {{{wikipedia|}}}|}}{{#if: {{{WP|}}}|}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{External icons
|alchetron = {{{alchetron|}}}
|alchetron = {{{alchetron|}}}
|campfire = {{{campfire|}}}
|campfire = {{{campfire|}}}
Line 112: Line 112:
|wikiquote = {{{wikiquote|}}}
|wikiquote = {{{wikiquote|}}}
|youtube = {{{youtube|}}}
|youtube = {{{youtube|}}}
}} {{ArrayMapProperty|{{{members|}}}|Has member}}{{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/>{{#if: {{{start|}}}|'''Started:''' [[Start::{{{start|}}}]]<br/>|}}{{#if: {{{end|}}}|'''Ended:''' [[End::{{{end|}}}]]<br/>|}}{{#if: {{{founders|}}}|'''Founder{{MaybePlural|{{{founders|}}}}}:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{subgroups|}}}|'''Subgroup{{MaybePlural|{{{subgroups|}}}}}:''' {{ArrayMapPropertyListLink|{{{subgroups|}}}|Has subGroup}}<br/>}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{titular_logo|}}}|[[Has titularLogo::true| ]]}}
}} {{ArrayMapProperty|{{{members|}}}|Has member}}{{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/>{{#if: {{{start|}}}|'''Started:''' {{{start|}}}<br/>|}}{{#if: {{{end|}}}|'''Ended:''' {{{end|}}}<br/>|}}{{#if: {{{founders|}}}|'''Founder{{MaybePlural|{{{founders|}}}}}:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{subgroups|}}}|'''Subgroup{{MaybePlural|{{{subgroups|}}}}}:''' {{ArrayMapPropertyListLink|{{{subgroups|}}}|Has subGroup}}<br/>}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{titular_logo|}}}|}}


{{#ifeq: {{{owners|}}}|{{{founders|}}}|{{#if: {{#ask: [[Has member::{{PAGENAME}}]] }}|'''Member of:''' {{#ask: [[Has member::{{PAGENAME}}]] }}<br/>}}{{#if: {{{owners|}}}|'''Founder/Owner{{MaybePlural|{{{founders|}}}}}:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}{{ArrayMapProperty|{{{owners|}}}|Has founder}}{{#if: {{{owners_detail|}}}|&nbsp;({{{owners_detail|}}})}} <br/> }}|{{#if: {{{owners|}}}|'''Owner{{MaybePlural|{{{owners|}}}}}:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}} {{#if: {{{owners_detail|}}}|&nbsp;({{{owners_detail|}}})}} <br/>}}}}{{#if: {{{num_staff|}}}|'''Staff:''' {{{num_staff|}}}<br/>}}{{#if: {{{num_volunteers|}}}|'''Volunteers:''' {{{num_volunteers|}}}<br/>}}{{#if: {{{own_words|}}}|'''In its own words:'''<br/>"{{{own_words|}}}"<br/>}}{{#if: {{{constitutes|}}}|'''Constitutes: ''' {{ArrayMapListLink|{{{constitutes|}}}}}<br/>}}{{#if: {{{interests|}}} | <br/>'''Main focus:''' {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} |}}{{#if: {{{exposed|}}} | <br/>'''Exposed:''' {{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}} |}}{{#if: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#if: {{{members|}}}|<br/>'''Members:''' {{ArrayMapListLink‎|{{{members|}}}}}<br/>}}{{#if: {{{comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big>
{{#ifeq: {{{owners|}}}|{{{founders|}}}|{{#if: |'''Member of:''' <br/>}}{{#if: {{{owners|}}}|'''Founder/Owner{{MaybePlural|{{{founders|}}}}}:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}{{ArrayMapProperty|{{{owners|}}}|Has founder}}{{#if: {{{owners_detail|}}}|&nbsp;({{{owners_detail|}}})}} <br/> }}|{{#if: {{{owners|}}}|'''Owner{{MaybePlural|{{{owners|}}}}}:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}} {{#if: {{{owners_detail|}}}|&nbsp;({{{owners_detail|}}})}} <br/>}}}}{{#if: {{{num_staff|}}}|'''Staff:''' {{{num_staff|}}}<br/>}}{{#if: {{{num_volunteers|}}}|'''Volunteers:''' {{{num_volunteers|}}}<br/>}}{{#if: {{{own_words|}}}|'''In its own words:'''<br/>"{{{own_words|}}}"<br/>}}{{#if: {{{constitutes|}}}|'''Constitutes: ''' {{ArrayMapListLink|{{{constitutes|}}}}}<br/>}}{{#if: {{{interests|}}} | <br/>'''Main focus:''' {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} |}}{{#if: {{{exposed|}}} | <br/>'''Exposed:''' {{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}} |}}{{#if: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#ifeq: {{{so_called|}}} | 1 | {{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#if: {{{members|}}}|<br/>'''Members:''' {{ArrayMapListLink‎|{{{members|}}}}}<br/>}}{{#if: {{{comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big>
----
----
{{{comment}}} |}}{{#if: {{{SeeAlso|}}} | <br/><br/><big><big>See Also</big></big>
{{{comment}}} |}}{{#if: {{{SeeAlso|}}} | <br/><br/><big><big>See Also</big></big>

Latest revision as of 22:35, 24 September 2026

SMWObjects
Semantic Object Templates:        Decade • Place • Timeline • Year • Disambiguation
Concept • Document • Employment • Event • Group • Person • Publication • Website

This template provides a standard format for websites.

It should be included at the top of all pages about websites.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

See website for a list of pages that use this template.

Usage:

<poem>

Site description in <500 characters of plaintext

[[File:(Property:Has logo) - For actual logos|right|How wide to display the image (defaults to the logo size)]][[File:(Property:Has image) - For screenshots|thumbnail|Text to put below the image|right|How wide to display the image (defaults to the image size)]] the web address [Handle of the person's twitter (no '@') (Property:Has twitter) Twitter]
"Site tagline"
Started: when it began
Ended: when it finished (if applicable)

In its own words:
"What the site has to say about itself"

Language: Language name for non-English websites
OPTIONAL SUBSECTIONS:

Wikispooks Comment


Wikispooks Comment subsection about why this is relevant (Recommended)

Expression error: Unexpected > operator.

</poem>