Difference between revisions of "Template:Kickstarter/doc"
imported>Totie (Add examples with parameter names) |
imported>Totie |
||
| Line 22: | Line 22: | ||
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=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> | ||
| − | |||
| − | Since "{{BASEPAGENAME}}" is the name of the Wikipedia page you now are looking at, the link above shows "{{BASEPAGENAME}} at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on. | + | '''Result''':{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}} |
| + | |||
| + | Note: Since "{{BASEPAGENAME}}" is the name of the Wikipedia page you now are looking at, the link above shows "{{BASEPAGENAME}} at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on. | ||
===Two parameters=== | ===Two parameters=== | ||
| Line 35: | Line 36: | ||
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system|name=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}} | + | '''Result''': {{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}} |
== Template data == | == Template data == | ||
Revision as of 14:37, 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}}
Result:Template:PAGENAMEBASE at Kickstarter
Note: 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}}
Result: castAR at Kickstarter
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 |