Difference between revisions of "Template:Kickstarter/doc"
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''|'' | + | 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> | |
| − | + | ||
| + | <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> | |
| − | + | ||
| + | <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 is a documentation subpage for Template:Kickstarter. It contains usage information, categories and other content that is not part of the original template page. |
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}}
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}}
Template data
TemplateData for Kickstarter
This template generates an external link to a project page at Kickstarter.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Project page | project 1 | The "project" parameter (or unnamed parameter "1") should contain the project-page portion the URL for the Kickstarter page.
| String | required |
| Name | name 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.
| String | optional |