Difference between revisions of "Template:NIWA Nav/doc"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (→Usage: Filename updates) |
PanchamBro (talk | contribs) m (fixing template usage) |
||
Line 1: | Line 1: | ||
− | {{High Risk Template}} | + | <templatestyles src="Template:Main Page/NIWA List/styles.css"/>{{High Risk Template}} |
==Usage== | ==Usage== | ||
Line 19: | Line 19: | ||
{{NIWA Nav | {{NIWA Nav | ||
| Name = Super Mario Wiki | | Name = Super Mario Wiki | ||
− | | Link = | + | | Link = mariowiki: |
| Icon = Super Mario Wiki Favicon.png | | Icon = Super Mario Wiki Favicon.png | ||
}} | }} | ||
</pre> | </pre> | ||
− | <div style="display: grid; grid-template-columns: repeat(auto-fill, {{{NavWidth|minmax(160px, 1fr)}}}); grid-row-gap: {{{NavRowGap|0px}}}; grid-column-gap: {{{NavColGap|0px}}}"> | + | <div class="WikiNav" style="display: grid; grid-template-columns: repeat(auto-fill, {{{NavWidth|minmax(160px, 1fr)}}}); grid-row-gap: {{{NavRowGap|0px}}}; grid-column-gap: {{{NavColGap|0px}}}"> |
{{NIWA Nav | {{NIWA Nav | ||
| Name = Super Mario Wiki | | Name = Super Mario Wiki | ||
− | | Link = | + | | Link = mariowiki: |
| Icon = Super Mario Wiki Favicon.png | | Icon = Super Mario Wiki Favicon.png | ||
}} | }} | ||
Line 35: | Line 35: | ||
{{NIWA Nav | {{NIWA Nav | ||
| Name = Pikipedia | | Name = Pikipedia | ||
− | | Link = | + | | Link = pikipedia: |
| Icon = Pikipedia Favicon.png | | Icon = Pikipedia Favicon.png | ||
| SubName = Fanon | | SubName = Fanon | ||
− | | SubLink = | + | | SubLink = pikminfanon: |
| SubIcon = Pikmin Fanon Favicon.png | | SubIcon = Pikmin Fanon Favicon.png | ||
}} | }} | ||
</pre> | </pre> | ||
− | <div style="display: grid; grid-template-columns: repeat(auto-fill, {{{NavWidth|minmax(160px, 1fr)}}}); grid-row-gap: {{{NavRowGap|0px}}}; grid-column-gap: {{{NavColGap|0px}}}"> | + | <div class="WikiNav" style="display: grid; grid-template-columns: repeat(auto-fill, {{{NavWidth|minmax(160px, 1fr)}}}); grid-row-gap: {{{NavRowGap|0px}}}; grid-column-gap: {{{NavColGap|0px}}}"> |
{{NIWA Nav | {{NIWA Nav | ||
| Name = Pikipedia | | Name = Pikipedia | ||
− | | Link = | + | | Link = pikipedia: |
| Icon = Pikipedia Favicon.png | | Icon = Pikipedia Favicon.png | ||
| SubName = Fanon | | SubName = Fanon | ||
− | | SubLink = | + | | SubLink = pikminfanon: |
| SubIcon = Pikmin Fanon Favicon.png | | SubIcon = Pikmin Fanon Favicon.png | ||
}} | }} | ||
</div> | </div> |
Latest revision as of 13:11, November 22, 2022
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Usage
{{NIWA Nav |Name = |Link = |Icon = |SubName |SubLink |SubIcon= }}
This template is used for the NIWA section of the main page to display a link for each member's website. The Name
parameter defines the displayed name, while Link
is used for a link to the website. Icon
is used to link to the favicon that represents the website. The SubName
, SubLink
, and SubIcon
parameters allow for a secondary website to be shown alongside the primary one.
Example
{{NIWA Nav | Name = Super Mario Wiki | Link = mariowiki: | Icon = Super Mario Wiki Favicon.png }}
{{NIWA Nav | Name = Pikipedia | Link = pikipedia: | Icon = Pikipedia Favicon.png | SubName = Fanon | SubLink = pikminfanon: | SubIcon = Pikmin Fanon Favicon.png }}