Template:Neighbor Navbox: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) Created page with "<includeonly>{{Navbox |title = Neighbors |list1 = {{Navbox DPL|category = Neighbors|uses=Template:Neighbor Infobox|format=Card}} }}</includeonly><noinclude>{{Documentation|type=Navbox|content={{T|Neighbor Navbox|_Y_=1}}}}</noinclude>" |
m if the subpage is a galllery, it'll be linking to other neighbour's galleries instead of the rootpage (for now, story subpages will also link to rootpage cause a bunch doesn't have story page yet) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Navbox | <includeonly>{{#vardefine:link_type|{{lc:{{{1|{{{link type|}}}}}}}}}}<!-- | ||
|title = [[Neighbor]] | |||
|list1 = {{Navbox DPL|category = Neighbors|uses=Template:Neighbor Infobox|format= | -->{{#switch:{{#var:link_type}}<!-- | ||
-->|gallery={{#vardefine:link_suffix|/Gallery}}<!-- | |||
-->|#default=<!-- | |||
-->}}<!-- | |||
-->{{Navbox | |||
|title = [[Neighbors]] {{#switch:{{#var:link_type}}<!-- | |||
-->|gallery=([[:Category:Neighbor Galleries|Gallery]])<!-- | |||
-->|#default=}} | |||
|striped = even | |||
|editlinks = off | |||
|list1 = {{Navbox DPL<!-- | |||
-->|category = Neighbors<!-- | |||
-->|uses=Template:Neighbor Infobox<!-- | |||
-->|format_mode=card<!-- | |||
-->|format = { %PAGE% $ link={{#var:link_prefix}}%PAGE%{{#var:link_suffix}} };;<!-- | |||
-->}} | |||
}}</includeonly><noinclude>{{Documentation|type=Navbox|content={{T|Neighbor Navbox|_Y_=1}}}}</noinclude> | }}</includeonly><noinclude>{{Documentation|type=Navbox|content={{T|Neighbor Navbox|_Y_=1}}}}</noinclude> | ||