Template:Wplink: Difference between revisions
Appearance
Bad documentation added. |
Sojourna thanked my edit here before so I’m here again! |
||
| Line 16: | Line 16: | ||
"description": "The name of the article from Wikipedia.", | "description": "The name of the article from Wikipedia.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"label": "Article name" | |||
}, | }, | ||
"2": { | "2": { | ||
"description": "What this link will appear as when viewing the article. e.g the link could be to 'Rotten Tomatoes' but shows up as 'Tomatoes' because that is what you put in here.", | "description": "What this link will appear as when viewing the article. e.g the link could be to 'Rotten Tomatoes' but shows up as 'Tomatoes' because that is what you put in here.", | ||
"type": "string" | "type": "string", | ||
"label": "Appearance" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Latest revision as of 06:10, 15 October 2025
- Usage:
{{wplink|article_name|optional_label}}{{wp|Wikipedia}}
- Results:
'article_name' refers to the name of the article from Wikipedia, while 'optional_label' is what the link will look like when viewing the article.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Article name | 1 | The name of the article from Wikipedia. | String | required |
| Appearance | 2 | What this link will appear as when viewing the article. e.g the link could be to 'Rotten Tomatoes' but shows up as 'Tomatoes' because that is what you put in here. | String | optional |