Community Central
Community Central
m (Removing redlinks.)
Tag: apiedit
m (→‎top: Collas(ible|ed) => mw-collaps(ible|ed).)
Tag: apiedit
 
(15 intermediate revisions by one other user not shown)
Line 5: Line 5:
   
 
Now is my question if it would be possible to show all other pages that are link to that category automatic can be import and sort:
 
Now is my question if it would be possible to show all other pages that are link to that category automatic can be import and sort:
{| class="navbox collapsible" style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;"
+
{| class="navbox mw-collapsible" style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;"
 
|-
 
|-
 
! style="background-color:#FF0000; color:#000000; padding:0.2em 0.5em;" nowrap="nowrap"|<div style="text-indent: 10%;">Units</div>
 
! style="background-color:#FF0000; color:#000000; padding:0.2em 0.5em;" nowrap="nowrap"|<div style="text-indent: 10%;">Units</div>
 
|-
 
|-
| style="padding:0.2em 0.5em;"| '''[[:Category:Passive units|Passive]]''': Gremlin miner<br />'''[[:Category:Melee units|Melee]]''': [[Skully]] · [[Dead Knight]] · [[Zombie]] · [[Wolf]] · [[Imp]] · [[Gargoyle]] · [[Spidey]] · Medusa · [[Troll]] · [[Dragon]]<br />'''[[:Category:Mid range units|Mid range]]''': [[Vamp]] · [[Necromancer]] · Reap<br />'''[[:Category:Long range units|Long range]]''': [[Skully Archer]] · Lich<br />'''[[:Category:Summoned units|Summoned]]''': [[Little spidey]] · [[Mummy]] · [[Necromancer zombie]] · Goblin · Ghost · ([[Nether Ghost]])<br /><br />'''Unknown''': (Cerberus)
+
| style="padding:0.2em 0.5em;"| '''[[:Category:Passive units|Passive]]''': Gremlin miner<br />'''[[:Category:Melee units|Melee]]''': Skully · Dead Knight · Zombie · Wolf · Imp · Gargoyle · Spidey · Medusa · Troll · [[Dragon]]<br />'''[[:Category:Mid range units|Mid range]]''': Vamp · Necromancer · Reap<br />'''[[:Category:Long range units|Long range]]''': Skully Archer · Lich<br />'''[[:Category:Summoned units|Summoned]]''': Little spidey · Mummy · Necromancer zombie · Goblin · Ghost · (Nether Ghost)<br /><br />'''Unknown''': (Cerberus)
 
|}
 
|}
   
 
So instant having:
 
So instant having:
<code><nowiki>'''[[:Category:Melee units|Melee]]''': [[Skully]] · [[Dead Knight]] · [[Zombie]] · [[Wolf]] · [[Imp]] · [[Gargoyle]] · [[Spidey]] · Medusa · [[Troll]] · [[Dragon]]</nowiki></code>
+
<code><nowiki>'''[[:Category:Melee units|Melee]]''': Skully · Dead Knight · Zombie · Wolf · Imp · Gargoyle · Spidey · Medusa · Troll · [[Dragon]]</nowiki></code>
   
 
Have something like this:-
 
Have something like this:-

Latest revision as of 21:01, 18 October 2016

Forums: Index Support Requests Showing category content into navboxes
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 2730 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

Hi, I was wondering if this would be possible: I currently have an navigation box on every troop page.

Now is my question if it would be possible to show all other pages that are link to that category automatic can be import and sort:

So instant having: '''[[:Category:Melee units|Melee]]''': Skully · Dead Knight · Zombie · Wolf · Imp · Gargoyle · Spidey · Medusa · Troll · [[Dragon]]

Have something like this:- '''[[:Category:Melee units|Melee]]''': {{#:Category:Melee units#|insertion:" · "|sort:"Template:Units|Cost"|sort-type:"low-high"}}

This above is no real code, just an example what I'm trying to do. Anyone an idea if this is possible?--Jens Ingels 13:19, June 26, 2012 (UTC)

This can be done with the extention DynamicPageList - which I think is available on request at Special:Contact -- RandomTime 13:54, June 26, 2012 (UTC)

Thx, I just requested it.—This unsigned comment is by Jens Ingels (wallcontribs). Please sign your comments by adding "~~~~" in the source editor.