Difference between revisions of "Template:Website"

From Wikispooks
Jump to navigation Jump to search
(instagram)
(23 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
|description=Site description in <500 characters of plaintext
 
|description=Site description in <500 characters of plaintext
 
|{{GREEN|founders}}=The name of the founder. For a pseudonym, use single quotes. If anonymous, use ''Unknown'' ''([[Property:Has founder]])''
 
|{{GREEN|founders}}=The name of the founder. For a pseudonym, use single quotes. If anonymous, use ''Unknown'' ''([[Property:Has founder]])''
 +
|{{GREEN|members}} = Comma separated list of current members  ''([[Property:Has member]])'' (experimental as of 2019)
 
|{{GREEN|owners}}=The name of the owner. For a pseudonym, use single quotes. If anonymous, use ''Unknown'' ''([[Property:Has operator]])''
 
|{{GREEN|owners}}=The name of the owner. For a pseudonym, use single quotes. If anonymous, use ''Unknown'' ''([[Property:Has operator]])''
 
''OPTIONAL DETAILS:''
 
''OPTIONAL DETAILS:''
 
|owners_detail=Optional details about the owner(s)
 
|owners_detail=Optional details about the owner(s)
 
|twitter    = Handle of the person's twitter (no '@') ''([[Property:Has twitter]])''
 
|twitter    = Handle of the person's twitter (no '@') ''([[Property:Has twitter]])''
|archive=A functional URL (for websites which are offline)
+
|{{PURPLE|archive}}=A functional URL (for websites which are offline)
 
|logo= ''([[Property:Has logo]])'' - For actual logos
 
|logo= ''([[Property:Has logo]])'' - For actual logos
|image_width= How many px wide to display the image (defaults to the logo size)
+
|{{ORANGE|titular_logo}} = Set to 1 if the logo includes the title ''([[Property:Has titularLogo]])''
 +
|logo_width= How many px wide to display the image (defaults to the logo size)
 
|image= ''([[Property:Has image]])'' - For screenshots
 
|image= ''([[Property:Has image]])'' - For screenshots
 
|image_width= How many px wide to display the image (defaults to the image size)
 
|image_width= How many px wide to display the image (defaults to the image size)
 +
|image_caption= {{RED|Text to put below the image}}
 
|own_words=What the site has to say about itself
 
|own_words=What the site has to say about itself
 
|slogan=Site tagline
 
|slogan=Site tagline
Line 34: Line 37:
 
|{{PURPLE|historycommons}}        = URL of the person's [[History commons]] page, if any ''([[Property:Has historycommons]])''
 
|{{PURPLE|historycommons}}        = URL of the person's [[History commons]] page, if any ''([[Property:Has historycommons]])''
 
|{{PURPLE|imdb}}    = URL of the Website's [[IMDB]] page ''([[Property:Has imdb]])''
 
|{{PURPLE|imdb}}    = URL of the Website's [[IMDB]] page ''([[Property:Has imdb]])''
|{{PURPLE|instagram}}    = URL of the Website's [[instagram]] page ''([[Property:Has instagram]])''
+
|{{PURPLE|infogalactic}}    = URL of the Website's [[IMDB]] page ''([[Property:Has imdb]])''
 +
|{{PURPLE|instagram}}    = URL of the Website's [[infogalactic]] page ''([[Property:Has infogalactic]])''
 
|{{PURPLE|linkedin}}    = URL of the Website's [[linkedin]] page ''([[Property:Has linkedin]])''
 
|{{PURPLE|linkedin}}    = URL of the Website's [[linkedin]] page ''([[Property:Has linkedin]])''
 +
|{{PURPLE|mixcloud}}    = URL of the Website's [[mixcloud]] page ''([[Property:Has mixcloud]])''
 
|{{PURPLE|namebase}}    = URL of the Website's [[namebase]] page ''([[Property:Has namebase]])''
 
|{{PURPLE|namebase}}    = URL of the Website's [[namebase]] page ''([[Property:Has namebase]])''
 
|{{PURPLE|nndb}}    = URL of the Website's [[NNDB]] page ''([[Property:Has nndb]])''
 
|{{PURPLE|nndb}}    = URL of the Website's [[NNDB]] page ''([[Property:Has nndb]])''
 +
|{{PURPLE|patreon}}  = URL of the Website's [[patreon]] page ''([[Property:Has patreon]])''
 
|{{PURPLE|powerbase}}  = URL of the Website's [[powerbase]] page ''([[Property:Has powerbase]])''
 
|{{PURPLE|powerbase}}  = URL of the Website's [[powerbase]] page ''([[Property:Has powerbase]])''
 +
|{{PURPLE|reddit}}  = URL of the Website's [[reddit]] channel ''([[Property:Has reddit]])''
 +
|{{PURPLE|repository}}    = URL of the Website's [[repository]] page ''([[Property:Has repository]])''
 +
|{{PURPLE|soundcloud}}  = URL of the Website's [[soundcloud]] page ''([[Property:Has soundcloud]])''
 
|{{PURPLE|sourcewatch}}  = URL of the Website's [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
 
|{{PURPLE|sourcewatch}}  = URL of the Website's [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
|{{PURPLE|spartacus}}  = URL of the Website's Spartacus page ''([[Property:Has spartacus]])''
+
|{{PURPLE|spartacus}}  = URL of the Website's [[spartacus]] page ''([[Property:Has spartacus]])''
 +
|{{PURPLE|spreaker}}  = URL of the Website's [[spreaker]] page ''([[Property:Has spreaker]])''
 +
|{{PURPLE|wikiquote}}  = URL of the Website's [[wikiquote]] page
 +
|{{PURPLE|wikidata}}  = URL of the Website's [[wikidata]] page ''([[Property:Has wikidata]])''
 
|{{BROWN|num_staff}}        = #Paid staff
 
|{{BROWN|num_staff}}        = #Paid staff
 
|{{BROWN|num_volunteers}}    = #Volunteers
 
|{{BROWN|num_volunteers}}    = #Volunteers
Line 56: Line 68:
 
|historycommons = {{{historycommons|}}}
 
|historycommons = {{{historycommons|}}}
 
|imdb = {{{imdb|}}}
 
|imdb = {{{imdb|}}}
 +
|infogalactic = {{{infogalactic|}}}
 
|instagram = {{{instagram|}}}
 
|instagram = {{{instagram|}}}
 
|linkedin = {{{linkedin|}}}
 
|linkedin = {{{linkedin|}}}
 +
|mixcloud = {{{mixcloud|}}}
 
|namebase = {{{namebase|}}}
 
|namebase = {{{namebase|}}}
 
|nndb = {{{nndb|}}}
 
|nndb = {{{nndb|}}}
 +
|patreon = {{{patreon|}}}
 
|powerbase = {{{powerbase|}}}
 
|powerbase = {{{powerbase|}}}
 +
|reddit = {{{reddit|}}}
 +
|repository = {{{repository|}}}
 
|sourcewatch = {{{sourcewatch|}}}
 
|sourcewatch = {{{sourcewatch|}}}
 +
|soundcloud = {{{soundcloud|}}}
 
|spartacus = {{{spartacus|}}}
 
|spartacus = {{{spartacus|}}}
 +
|spreaker = {{{spreaker|}}}
 
|twitter =  {{{twitter|}}}
 
|twitter =  {{{twitter|}}}
 +
|wikidata = {{{wikidata|}}}
 +
|wikiquote = {{{wikiquote|}}}
 
|youtube = {{{youtube|}}}
 
|youtube = {{{youtube|}}}
}} {{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/>{{#if: {{{start|}}}|'''Started:''' [[Start::{{{start|}}}]]<br/>|}}{{#if: {{{end|}}}|'''Ended:''' [[End::{{{end|}}}]]<br/>|}}{{#if: {{{founders|}}}|'''Founder(s):''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{subgroups|}}}|'''Subgroup(s):''' {{ArrayMapPropertyListLink|{{{subgroups|}}}|Has subGroup}}<br/>}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{owners|}}}|'''Owner(s):''' {{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: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#if: {{{comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big>
+
}} {{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| ]]}}
 +
 
 +
{{#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: {{{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>
 
----
 
----
 
{{{comment}}} |}}{{#if: {{{SeeAlso|}}} | <br/><br/><big><big>See Also</big></big>
 
{{{comment}}} |}}{{#if: {{{SeeAlso|}}} | <br/><br/><big><big>See Also</big></big>
----
+
----  
 
{{{SeeAlso}}} |}}
 
{{{SeeAlso}}} |}}
 
{{SubPages}}</div>
 
{{SubPages}}</div>
 
{{SMWDefaultMarkup}}
 
{{SMWDefaultMarkup}}
 
</includeonly>
 
</includeonly>

Revision as of 16:10, 18 July 2019

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

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:

{{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)
|members = Comma separated list of current members (Property:Has member) (experimental as of 2019)
|owners=The name of the owner. For a pseudonym, use single quotes. If anonymous, use Unknown (Property:Has operator)
OPTIONAL DETAILS:
|owners_detail=Optional details about the owner(s)
|twitter = Handle of the person's twitter (no '@') (Property:Has twitter)
|archive=A functional URL (for websites which are offline)
|logo= (Property:Has logo) - For actual logos
|titular_logo = Set to 1 if the logo includes the title (Property:Has titularLogo)
|logo_width= How many px wide to display the image (defaults to the logo size)
|image= (Property:Has image) - For screenshots
|image_width= How many px wide to display the image (defaults to the image size)
|image_caption= Text to put below the image
|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)
|facebook = URL of the Website's facebook page (Property:Has facebook)
|historycommons = URL of the person's History commons page, if any (Property:Has historycommons)
|imdb = URL of the Website's IMDB page (Property:Has imdb)
|infogalactic = URL of the Website's IMDB page (Property:Has imdb)
|instagram = URL of the Website's infogalactic page (Property:Has infogalactic)
|linkedin = URL of the Website's linkedin page (Property:Has linkedin)
|mixcloud = URL of the Website's mixcloud page (Property:Has mixcloud)
|namebase = URL of the Website's namebase page (Property:Has namebase)
|nndb = URL of the Website's NNDB page (Property:Has nndb)
|patreon = URL of the Website's patreon page (Property:Has patreon)
|powerbase = URL of the Website's powerbase page (Property:Has powerbase)
|reddit = URL of the Website's reddit channel (Property:Has reddit)
|repository = URL of the Website's repository page (Property:Has repository)
|soundcloud = URL of the Website's soundcloud page (Property:Has soundcloud)
|sourcewatch = URL of the Website's sourcewatch page (Property:Has sourcewatch)
|spartacus = URL of the Website's spartacus page (Property:Has spartacus)
|spreaker = URL of the Website's spreaker page (Property:Has spreaker)
|wikiquote = URL of the Website's wikiquote page
|wikidata = URL of the Website's wikidata page (Property:Has wikidata)
|num_staff = #Paid staff
|num_volunteers = #Volunteers
|so_called = Set to "1" to illustrate concern about the name of this object (Property:So called) - For flagging up deceitful language such as the "War on Terror"
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)
}}