More actions
Created page with "{{doc sub}} {{t|navcards}} allows a navigational bar to be set up relatively quickly by supplying it with one or more lists of links and images. == Usage == Please remove the parameters that are left blank. <pre> {{Navcards |label1 = |link1 = |image1 = |label2 = |link2 = |image2 = |label3 = |link3 = |image3 = }} </pre> == Parameter list == ;<code>label<sub>n</sub></code> :Label text for the menu item ;<code>link<sub>n</sub></code> :Page to link to in the nav..." |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 38: | Line 38: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Navcards | {{Navcards | ||
|label1 = | |label1 = First Label | ||
|link1 = | |link1 = First Link | ||
|image1 = | |image1 = First Image.jpg | ||
|label2 = | |label2 = Second Label | ||
|link2 = | |link2 = Second Link | ||
|image2 = | |image2 = Second Image.jpg | ||
|label3 = | |label3 = Third Label | ||
|link3 = | |link3 = Third Link | ||
|image3 = | |image3 = Third Image.jpg | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 54: | Line 54: | ||
gives | gives | ||
{{Navcards | {{Navcards | ||
|label1 = | |label1 = First Label | ||
|link1 = | |link1 = First Link | ||
|image1 = | |image1 = First Image.jpg | ||
|label2 = | |label2 = Second Label | ||
|link2 = | |link2 = Second Link | ||
|image2 = | |image2 = Second Image.jpg | ||
|label3 = | |label3 = Third Label | ||
|link3 = | |link3 = Third Link | ||
|image3 = | |image3 = Third Image.jpg | ||
}} | }} | ||
[[Category:Pages with broken file links|Navcards/doc]] | |||
[[Category:Template documentation pages|Navcards/doc]] |
Latest revision as of 00:25, 5 May 2025
This is a documentation subpage for Template:Navcards. It may contain usage information, categories and other content that is not part of the original template page. |
{{navcards}} allows a navigational bar to be set up relatively quickly by supplying it with one or more lists of links and images.
Usage
Please remove the parameters that are left blank.
{{Navcards |label1 = |link1 = |image1 = |label2 = |link2 = |image2 = |label3 = |link3 = |image3 = }}
Parameter list
labeln
- Label text for the menu item
linkn
- Page to link to in the navbar, should be the page title
imagen
- Background image to use
id
- ID used for HTML, mostly used in template
Example
{{Navcards |label1 = First Label |link1 = First Link |image1 = First Image.jpg |label2 = Second Label |link2 = Second Link |image2 = Second Image.jpg |label3 = Third Label |link3 = Third Link |image3 = Third Image.jpg }}
gives