Difference between revisions of "Template:Website"

From Wikispooks
Jump to navigation Jump to search
(Fix owner property)
(params fix)
Line 27: Line 27:
 
</poem>
 
</poem>
 
</noinclude><includeonly>{{WikiSpooks:Site Status}}<div style="border-style:solid; border-width:1px; border-color:#a7d7f9; margin:0px; background-color:#f5f5f5; padding: 0.5em; margin-right:0px;">
 
</noinclude><includeonly>{{WikiSpooks:Site Status}}<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|}}} | [[File:{{{image|}}}|right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}px}}]] |}}
+
{{Description|{{{description|}}}}}{{#if: {{{image|}}} | [[File:{{{image|}}}|right{{#if: {{{image_width|}}}|{{!}}{{{image_width}}}px}}]] |}}
 
{{#if: {{{archive|}}} |'''URL:&nbsp;[{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''URL:&nbsp;[[Has URL::{{{URL}}}]] '''}} {{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/>
 
{{#if: {{{archive|}}} |'''URL:&nbsp;[{{{archive}}} {{{URL}}}]''' [Archived Copy] |'''URL:&nbsp;[[Has URL::{{{URL}}}]] '''}} {{#if: {{{slogan|}}}|<br/>''"{{{slogan|}}}"''|}}<br/>
{{#if: {{{Start|}}}|'''Started:''' [[Start::{{{Start|}}}]]<br/>|}}{{#if: {{{End|}}}|'''Ended:''' [[End::{{{End|}}}]]<br/>|}}{{#if: {{{wikipedia|}}}|'''Wikipedia: {{{wikipedia|}}} '''<br/>|}}{{#if: {{{founders|}}}|'''Founder:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{owners|}}}|'''Owner:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}<br/>}}{{#if: {{{own_words|}}}|'''In its own words:'''<br/>"{{{own_words|}}}"<br/>|}}{{#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: {{{wikipedia|}}} '''<br/>|}}{{#if: {{{founders|}}}|'''Founder:''' {{ArrayMapPropertyListLink|{{{founders|}}}|Has founder}}<br/>}}{{#if: {{{owners|}}}|'''Owner:''' {{ArrayMapPropertyListLink|{{{owners|}}}|Has operator}}<br/>}}{{#if: {{{own_words|}}}|'''In its own words:'''<br/>"{{{own_words|}}}"<br/>|}}{{#if: {{{original_language|}}} | <br/>'''Language: {{{original_language|}}} |}}{{#if: {{{note|}}} | <br/>{{{note|}}} |}}{{#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>

Revision as of 22:39, 26 July 2014

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.

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=
|slogan=Site tagline
|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
|original_language=Language name for non-English websites
|wikipedia=address of the Wikipedia article
|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)
}}