Difference between revisions of "Template:Website"
(|num_staff, |num_volunteers params) |
m (fix image width params) |
||
Line 38: | Line 38: | ||
</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: {{{image|}}} | [[Has logo::File:{{{image|}}}| ]][[File:{{{image|}}}|right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}}}]] |}} | + | {{Description|{{{description|}}}}}{{#if: {{{image|}}} | [[Has logo::File:{{{image|}}}| ]][[File:{{{image|}}}|right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}px}}]] |}} |
{{#if: {{{archive|}}} |'''URL: [{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''URL: [[Has URL::{{{URL}}}]] '''}} {{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/> | {{#if: {{{archive|}}} |'''URL: [{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''URL: [[Has URL::{{{URL}}}]] '''}} {{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/> | ||
{{#if: {{{start|}}}|'''Started:''' [[Start::{{{start|}}}]]<br/>|}}{{#if: {{{end|}}}|'''Ended:''' [[End::{{{end|}}}]]<br/>|}}{{#if: {{{wikipedia|}}}|'''[[Wikipedia]]: {{WikipediaLink|{{{wikipedia|}}}|{{{wikipedia_protection|}}}}}'''<br/>|}}{{#if: {{{founders|}}}|'''Founder:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{subgroups|}}}|'''Subgroup(s):''' {{ArrayMapPropertyListLink|{{{subgroups|}}}|Has subGroup}}<br/>}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{owners|}}}|'''Owner:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}<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: {{{interests|}}} | <br/>'''Main focus:''' {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} |}}{{#if: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#if: {{{comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big> | {{#if: {{{start|}}}|'''Started:''' [[Start::{{{start|}}}]]<br/>|}}{{#if: {{{end|}}}|'''Ended:''' [[End::{{{end|}}}]]<br/>|}}{{#if: {{{wikipedia|}}}|'''[[Wikipedia]]: {{WikipediaLink|{{{wikipedia|}}}|{{{wikipedia_protection|}}}}}'''<br/>|}}{{#if: {{{founders|}}}|'''Founder:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{subgroups|}}}|'''Subgroup(s):''' {{ArrayMapPropertyListLink|{{{subgroups|}}}|Has subGroup}}<br/>}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{owners|}}}|'''Owner:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}<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: {{{interests|}}} | <br/>'''Main focus:''' {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} |}}{{#if: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#if: {{{comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big> |
Revision as of 14:54, 26 February 2015
Template:Template Usage:
{{Website
|URL=the web address
|start= when it began
|end= when it finished (if applicable)
|description=Site description in <500 characters of plaintext
|founders=The name of the founder. For a pseudonym, use single quotes. If anonymous, use Unknown (Property:Has founder)
|owners=The name of the owner. For a pseudonym, use single quotes. If anonymous, use Unknown (Property:Has operator)
OPTIONAL DETAILS:
|archive=A functional URL (for websites which are offline)
|image= (Property:Has logo)
|image_width= How many px wide to display the image (defaults to the image size)
|own_words=What the site has to say about itself
|slogan=Site tagline
|original_language=Language name for non-English websites
|interests= the main focus(es) of this website (Property:Has interest)
|constitutes= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") (Property:Constitutes)
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|subgroups= other groups subsidiary to this website (Property:Has subGroup)
|wikipedia = URL of the English Wikipedia page for this website, if any (Property:Has wikipediaPage)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|num_staff = #Paid staff
|num_volunteers = #Volunteers
|no_docs=Yes (Chance to suppress the showing of "Sourced From" Documents)
OPTIONAL NOTE:
|note=
OPTIONAL SUBSECTIONS:
|comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|see_also= See Also subsection (Use for related sites which cannot be linked in from the text)
}}