Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navpills: Difference between revisions

Template page
Created page with "<includeonly>{{#invoke:Navpills|navpills}}</includeonly><noinclude> Navpills is used to create a grid of navigation button. It is powered by Module:Navpills. == Example == <pre><nowiki> {{Navpills |page1 = Gandalf |page2 = Frodo |page3 = Gollum |text3 = Best character |image3 = The Lord of the Rings - The Return of the King - Gollum poster.jpg }} </nowiki></pre> will give: {{Navpills |page1 = Gandalf |page2 = Frodo |page3 = Gollum |text3 = Best character |image3 =..."
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Navpills|navpills}}</includeonly><noinclude>
<div class="navpill">
Navpills is used to create a grid of navigation button. It is powered by [[Module:Navpills]].
<div class="navpill-background"></div>[[{{{content}}}]]
 
</div>
== Example ==
<templatestyles src="Template:Navpills/styles.css" />
<pre><nowiki>
<noinclude>
{{Navpills
<templatedata>
|page1 = Gandalf
{
|page2 = Frodo
"params": {
|page3 = Gollum
"content": {
|text3 = Best character
"type": "string",
|image3 = The Lord of the Rings - The Return of the King - Gollum poster.jpg
"default": "--"
}}
}
</nowiki></pre>
},
 
"format": "block"
will give:
}
 
</templatedata>
{{Navpills
|page1 = Gandalf
|page2 = Frodo
|page3 = Gollum
|text3 = Best character
|image3 = The Lord of the Rings - The Return of the King - Gollum poster.jpg
}}
 
[[Category:Utility templates]]
</noinclude>
</noinclude>

Latest revision as of 00:24, 29 December 2024

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
contentcontent

no description

Default
--
Stringoptional