User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 143: Line 143:
==BASEPAGENAME==
==BASEPAGENAME==
Hey, I thought you'd be a pretty good person to ask. I'm wondering why {{CodeInline|<nowiki>{{BASEPAGENAME}}</nowiki>}} doesn't really seem to work on some pages. For example, if the magic word is placed on [[Fight Factory/Nav]], it returns Fight Factory/Nav instead of Fight Factory like I would expect. The help section mentions that <nowiki>{{BASEPAGENAME}}</nowiki> only works on namespaces that have subpages enabled. It leads me to believe that pages in the main space do not have subpages enabled. Do you think that's the case? My eventual goal is to create some subcategories of some inclusion only pages that I use for groups I'm involved in and I'd like the group name to be the subcategory name. Hope that makes since. See here for one of my attempts [http://wiki.urbandead.com/index.php?title=Fight_Factory%2FNav&diff=1839656&oldid=1808895]. {{User:Vapor/sig}} 06:47, 25 January 2011 (UTC)
Hey, I thought you'd be a pretty good person to ask. I'm wondering why {{CodeInline|<nowiki>{{BASEPAGENAME}}</nowiki>}} doesn't really seem to work on some pages. For example, if the magic word is placed on [[Fight Factory/Nav]], it returns Fight Factory/Nav instead of Fight Factory like I would expect. The help section mentions that <nowiki>{{BASEPAGENAME}}</nowiki> only works on namespaces that have subpages enabled. It leads me to believe that pages in the main space do not have subpages enabled. Do you think that's the case? My eventual goal is to create some subcategories of some inclusion only pages that I use for groups I'm involved in and I'd like the group name to be the subcategory name. Hope that makes since. See here for one of my attempts [http://wiki.urbandead.com/index.php?title=Fight_Factory%2FNav&diff=1839656&oldid=1808895]. {{User:Vapor/sig}} 06:47, 25 January 2011 (UTC)
:Yeah, I don't believe subpages are enabled in the main namespace, which basically means that, technically, X/Y is a page named "X/Y" rather than a page Y that is a subpage of X. You can tell because if you go to something like [[User:Aichon/Other]], Other will have a link near the top that will take you back to User:Aichon, whereas similar behavior doesn't happen in the main namespace.
:Anyway, since I'm beyond tired after researching companies for a career fair today, I'll just point you in a few directions. One is that you might look at <code><nowiki>[[Category:CAT_NAME|GROUP_NAME]]</nowiki></code> to do stuff. Not sure if it helps. The other is [[Template:Subcat]], which you can see in use [[:Category:Soldiers_of_Crossman|here]]. It may be useful. I'll let you poke through those and see what works, but it should still be doable, though you'll likely not be able to use the magic words. You might also ping DDR or Rooster, since they both have significantly more categorization wiki-fu than I do. I always left that stuff alone since it was messy and hard to see. {{User:Aichon/Signature}} 11:57, 25 January 2011 (UTC)

Revision as of 11:57, 25 January 2011

Aichon:Talk
Aichon
ˈīˌkän :Talk