FANDOM

Ursuul

Wiki Manager Bureaucrat
  • My occupation is Wiki Manager @ Fandom
  • Bio I read obscure books & play old games, Western Values are important to me.
  • [Show More]

Greetings & salutations dear fellows, I am Ursuul. If you need anything or have any problems or questions, feel free to leave a message. I don’t bite :)


A FANDOM user
  Loading editor
  • to answer two questions?

    1. 1 Do you think we should split non-character pages longer than 10k in subpages the way we've done the longer character pages?
    1. 2 Should we add a 1st appearance line in the infoboxes?

    Thanks!

      Loading editor
      1. Not necessarily, & if it was to be done I'd recommend running by any plan you had to do so by me so we can go over the best practice.
      2. Um, in my experience it's produced a lot of work for not much gain, but there's no harm in having it.
        Loading editor
    • A FANDOM user
        Loading editor
  • there's a number of non-character pages (The War, Magic, Fomor, etc.) more than 10k long, that might want to be split. Do you think it worth doing it?

    TIA.

      Loading editor
    • A FANDOM user
        Loading editor
  • Say, Ursuul,

    I just granted User:3attleStar rollback; mostly as a thank you, and partly because he might need it in the future. It does not appear in his masthead, and it should. Your doing, or staff's? And can it be fixed?

    Thanks!

      Loading editor
  • but I don't know what it may be.

    Template:Infobox:Minor.

      Loading editor
    • View all 10 replies
    • No problem! Sometimes it's hard to know when to do things simply or with complexity. When in doubt, go with simple :)

        Loading editor
    • Yup. :)

        Loading editor
    • A FANDOM user
        Loading editor
  • As you may have noticed, Category:Characters is transcluded by Template:Infobox:Character. I'd like to keep it in the main page and suppress it in the subpages. What would be the appropriate code for it?

    I should pick up some java, I think, a 101 evening course when schools reopen. If what I remember from my programming days helps me rather than hinders me...

      Loading editor
    • Parser functions are no true programming language, treating them like a programming language would probably either confuse you or result in some over-complex code. If you want to study anything, study the documentation for parser functions, here & here.

      The one you were using is #if. If there's any text the function can see immediately after the :, then the content immediately after the first subsequent | is displayed, but if there's nothing, then the content immediately after the second | is displayed.

      So, {{#if: h | true | false}} would result in true, because it sees the h text. Template parameters, if they used like this ({{{random|}}}) return absolutely nothing if they are not defined on the page, so the function would see something like {{#if: | true | false}} if the parameter is not defined, & since there's nothing in front of the :, it returns false, the content after the second |. If you did have something like {{#if: {{{random|}}} | true | false }} but with the random parameter defined on the page, then then the function would produce true.
      Now, this is the code I used:
      {{#if: {{{subpages|}}}
          || [[Category:Characters]]
      }}
      If subpages is defined, then only the content immediately after the first | is displayed - but there's nothing there, the || are right next to each other, so nothing happens. Whereas, if subpages is not defined, then the content after the second | will be used; in this case, the category which categorizes the page.

      ...& I just realize I fucked up, because now the parent page won't have a category. Redoing lol.

        Loading editor
    • Ok lol, the new approach I used is with #ifeq, or "if equals". The way that works is that if the text immediately after the : is the exact same as the text immediately after the first |, then the content immediately after the second | is displayed (otherwise the content immediately after the third | would be displayed, but since there is no third | nothing happens).

      I used that code because {{FULLPAGENAME}} displays the entire page title, whereas {{BASEPAGENAME}} only displays the root page name (so, in Harry Dresden/Description, {{BASEPAGENAME}} will return Harry Dresden whereas {{FULLPAGENAME}} will return Harry Dresden/Description). As you can see, for the subpages the values are not the same, but for parent pages, their full page names are the exact same as the root page name, so {{BASEPAGENAME}} & {{FULLPAGENAME}} will produce the exact same result on the Harry Dresden parent page. The way I have set up the #ifeq is that if they are the same (as with parent pages), then a category is added, but if they are different (as with subpages), then nothing happens. Problem solved!

        Loading editor
    • The way you can see this in action is by literally pasting this code on both the parent page & the subpage:
      {{#ifeq: {{FULLPAGENAME}}
          | {{BASEPAGENAME}}
          | true
          | false
      }}
      Just put that in the pages & preview the result. If you do it in the Harry Dresden page, you will see true in the preview because the values are the same. However, if you do it on any subpage, then you will see false in the preview because the values are different. Same exact code you're pasting in the pages, gives you different results on different pages.
        Loading editor
    • Absolutely great, thank you! :)

        Loading editor
    • A FANDOM user
        Loading editor
  • that perhaps we should split the longest pages (the 6 or 7 more than 30 kilobytes long) into something more manageable. Something like w:c:thehost:souls.

    I do seem to remember, though, that we already discussed this and you said it does not work too well with cells. If this is the case, I hope I can forget about it a few months down the line.

      Loading editor
    • View all 30 replies
    • All pages should be categorized, although not necessarily in the same way as the parent page. You might categorize it like this.

        Loading editor
    • It's a starting point; thanks!

        Loading editor
    • A FANDOM user
        Loading editor
  • these in our articles? Probably not, but I'd rather ask for a second opinion.

    How're things the other side of the Atlantic?

      Loading editor
    • View all 7 replies
    • I feel it, every time a new episode comes out on one of my Movies/TV Wikis I have to write the same content (from a different point of view) on like 10-15 pages.

        Loading editor
    • 👍

        Loading editor
    • A FANDOM user
        Loading editor
  • How's life over there?

      Loading editor
  • Narrator is Kincaid and this gives a bit of a problem: he's listed in the Template:Non-humans. Should I transfer the scions section to Template:Humans or create a new template for narrators? Or leave everything as it is and create a narrator subsection in the nonhuman template?

    Thanks!

      Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.