Difference between revisions of "Template:Kickstarter/doc"

From blackwiki
Jump to navigation Jump to search
imported>Totie
(Created page with '{{Documentation subpage}} This template generates an external link to a funding project at Kickstarter. ==Usage== <code><nowik...')
 
imported>Totie
(Add examples with parameter names)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''|''title''}}</code>
+
One parameter:
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''}}</code>
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=''project page''}}</code>
 +
 
 +
Two parameters:
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''|''name''}}</code>
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=''project page''|name=''name''}}</code>
  
 
==Examples==
 
==Examples==
Line 11: Line 17:
 
The parameter will be the project-page string used in the [[URL]] at Kickstarter.
 
The parameter will be the project-page string used in the [[URL]] at Kickstarter.
  
:URL: <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
+
'''URL''': <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
:Template: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
+
 
 +
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
 +
 
 +
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
 
:{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}
 
:{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}
  
Line 20: Line 29:
 
The first parameter will be the project-page string used in the [[URL]] at Kickstarter. The second parameter will be used as the [[link text]].
 
The first parameter will be the project-page string used in the [[URL]] at Kickstarter. The second parameter will be used as the [[link text]].
  
:URL: <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
+
'''URL''': <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code>
:Template: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}</code>
+
 
 +
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}</code>
 +
 
 +
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system|name=castAR}}</code>
 +
 
 
:{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}
 
:{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}
  

Revision as of 09:21, 23 September 2016

This template generates an external link to a funding project at Kickstarter.

Usage

One parameter:

{{Kickstarter|project page}}
{{Kickstarter|project=project page}}

Two parameters:

{{Kickstarter|project page|name}}
{{Kickstarter|project=project page|name=name}}

Examples

One parameter

The parameter will be the project-page string used in the URL at Kickstarter.

URL: https://www.kickstarter.com/projects/technicalillusions/castar-the-most-versatile-ar-and-vr-system

{{Kickstarter|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}

{{Kickstarter|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system}}

Template:PAGENAMEBASE at Kickstarter

Since "Kickstarter" is the name of the Wikipedia page you now are looking at, the link above shows "Kickstarter at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on.

Two parameters

The first parameter will be the project-page string used in the URL at Kickstarter. The second parameter will be used as the link text.

URL: https://www.kickstarter.com/projects/technicalillusions/castar-the-most-versatile-ar-and-vr-system

{{Kickstarter|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}

{{Kickstarter|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system|name=castAR}}

castAR at Kickstarter

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Kickstarter

This template generates an external link to a project page at Kickstarter.

Template parameters

ParameterDescriptionTypeStatus
Project pageproject 1

The "project" parameter (or unnamed parameter "1") should contain the project-page portion the URL for the Kickstarter page.

Example
technicalillusions/castar-the-most-versatile-ar-and-vr-system
Stringrequired
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without disambiguation.

Default
{{PAGENAMEBASE}}
Example
castAR
Stringoptional