Wikia

Morning Glories Wiki

Thailog

16 Edits since joining this wiki
June 17, 2013
54.226.147.84
  Loading editor
  • This sort of exists in the {{comic}} template which I copied from the YJ Wiki.  However, I don't really understand it, and my attempt to incorporate it into {{Discussion thread}} has failed.

    What I basically want to happen is:

    If {{{solicit}}} exists, make a new row and populate with Solicitation: {{{solicit}}}.  Otherwise, don't make a new row.

    Same thing with {{{tagline}}}.  If the variable is defined, display Tagline: {{{tagline}}}.  Otherwise, hide it.

    Currently I have problems with the hiding part.  I might be using the wrong types of arguments.  Can you help me? :)

      Loading editor
  • Hi, Thailog. I was hoping to consult you on some coding.

    I'm implementing a navigation scheme, based on Young Justice, where you can switch back from season to season. My previous attempt was a hack job, which doesn't have dedicated slots for a "Back" and "Next" button.

    The way I'm thinking of implementing it is:

    {{Template|IssuenavParse}} returns the five values that I want. I put all the switches here:

    1 : Previous Season's first issue

    2 : Season #

    3 : Next Season's first issue

    4 : Arc names

    5 : Arc issue numbers

    {{Template|Issuenav}} basically houses the table structure.

    {{Template|Comic}} calls on the issue navigation template, in addition to containing some issue information.

    However, I'm running into problems when I actually invoke it. First of all, I can't put these in a link - it somehow breaks out of the cell. Second, I can't actually get the template to recognize what page is calling the template from. One would expect using it in a page called "Morning Glories 20" would automatically populate it with Morning Glories 20 values, but that's not happening here.

    any idea on what I did wrong?

      Loading editor
    • View all 6 replies
    • Zergrinch wrote: Hey, you did it!  So, mediawiki was hung up over the carriage return I had before the switch tag in issuenavparse, and I forgot to put in the {{{1}}} variable in issuenav.  Okiedoke.  

      Thanks!

      Anytime!

        Loading editor
    • Calfaile wrote:
      Hey it looks good! Switches 4 and 5 are not working, but I assume you haven't implemented them yet.

      4 and 5 are working.  4 lists down the arc titles, while 5 lists down the issues per arc.  However, I have not populated these for anything beyond Season 2 since, well, we simply don't have the info yet.  To avoid clogging up Thailog's e-mail, do direct any replies to my wall or a forum thread.

        Loading editor
    • 54.226.147.84
        Loading editor
  • Hi, welcome to Morning Glories Wiki! Thanks for your edit to the The Truants page.

    Please leave me a message if I can help with anything!

      Loading editor
    • View all 5 replies
    • Well, there is some resistance about the pink secondary color we got going (you can see it in the Table of Contents on long pages).  I basically cribbed it off of Young Justice, and changed it from blue to red.  But it seems sky blue and pink, although having the same brightness value, have different aesthetics. :(

      Care to suggest a better color scheme?

        Loading editor
    • Happy to have you here, Thailog :)

        Loading editor
    • 54.226.147.84
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Around Wikia's network

Random Wiki