1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Civ4 documentation wiki

Discussion in 'Civ4 - SDK/Python' started by rkyte, Nov 13, 2005.

  1. MSTK

    MSTK Chieftain

    Joined:
    Dec 30, 2003
    Messages:
    2,154
    You can set a redirect. If someone links to "Ameran", they'd be redirected to "America" automatically. It's not that hard.
    However I agree that it's always easier tohave a consistancy.
     
  2. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    We need to make a standard for how XML files will be described, before to much information gets added!

    So far we have these formats:
    1. http://www.kyteland.com/civ4wiki/index.php/CIV4ArtDefines_Bonus
    2. http://www.kyteland.com/civ4wiki/index.php/CIV4ArtDefines_Civilization
    3. http://www.kyteland.com/civ4wiki/index.php/CIV4BasicInfos
    4. http://www.kyteland.com/civ4wiki/index.php/CIV4LeaderHeadInfos
    5. http://www.kyteland.com/civ4wiki/index.php/CIV4ColorVals
    6. http://www.kyteland.com/civ4wiki/index.php/CIV4ImprovementInfos

    I like having an example from the actual XML file to use as a refrance on the page (as seen in #1). #2 is not easily readable. #3 We don't really have any formating. #4 is a cut and paste job, not yet finished and ATM basically useless. #5 is simialr to #2. #6 has some potential, but is confusing without an actual example.

    Also what is with the <> thing before some titles? Seems kind of pointless to me.
     
  3. jbfballrb

    jbfballrb Chieftain

    Joined:
    Oct 24, 2003
    Messages:
    203
    Location:
    Richmond, VA
    1 and 6 look the best.
     
  4. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
  5. McBierle

    McBierle Chieftain

    Joined:
    Nov 9, 2005
    Messages:
    32
    thanks for #6 at first ;)

    #3: the basicinfo i did has no info; true but i didi that part only as "test" for the link from unitinfo...

    #2: needs realy formatting

    and because of examples, if you for every xml an example that would get messy for some. just think of the unitinfo thts a really big *****; so at least the examples should be at the bottom.
    but anyways your wikis with examples are great :)
     
  6. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    Agreed, the examples should be on the bottom.
     
  7. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
    About the XML documentations, we don't seem to use the Category function. Not really a bad move, but it would good to have a instant link to others XML files and explanations.

    Does this kind of template may be useful ?
    http://www.kyteland.com/civ4wiki/index.php/Template:XML
     
  8. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    I think you could remove the stuff at the top, because you would assume someone thats is looking for what an XML file does already knows the basics of XML.
     
  9. McBierle

    McBierle Chieftain

    Joined:
    Nov 9, 2005
    Messages:
    32
    hm yes organization is cool.

    Ordung ist das halbe Leben, ich lebe in der anderen Hälfte.

    now how to trnslate that...

    Arrengement is half of life, i live in the other halve.

    god am i funny. But seriously the general organization isn't that bad, when you remember that this wiki isn't 3 days old...
     
  10. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
    Perhaps but one (like me) can occasionally forgot what is a bolean entry or something. And it's a good way to guide newcomer to the right starter place. But feel free to edit the template if you disagree. It's the point of a Wiki ;)
     
  11. Door

    Door Chieftain

    Joined:
    Dec 16, 2003
    Messages:
    49
    This is a brilliant idea. I'll try and help out when I can.
     
  12. jbfballrb

    jbfballrb Chieftain

    Joined:
    Oct 24, 2003
    Messages:
    203
    Location:
    Richmond, VA
    ive got a Category:XML Files, as well as categories for each folder. no files yet added, though. and that template looks good
     
  13. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
    About categories, I posted this over there but I could as well post it here :
    I think we should wait a little before adding too much categories. Discussing a consensus at CFC first, perhaps ?

    I don't think we need a cat for everything. Cat:Technologies is probably redundant with Technologies page. And why does we need the various civilization cats ?
     
  14. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    Here is more complete template: http://www.kyteland.com/civ4wiki/index.php/Template:XML

    It has all the links incase you forget (for like boolean) but it doesn't make you feel dumb when you open up the page (like the little banner thing kind of did). This takes the basic formating of the 6th format and makes it pretty easy to understand.
     
  15. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
    I posted in the Template:XML discussion page. I think you perhaps mistook the template function for an "example-page".
    Template is a function you call in a normal page and it adds a text or more complex thing to this page. Try adding {{Template:XML}} a on page. (We need a sandbox btw ;))
     
  16. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    Your right, I'm new to this whole Wiki thing. :blush:
     
  17. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
  18. vbraun

    vbraun Raytracing

    Joined:
    Jul 7, 2003
    Messages:
    3,530
    Location:
    Arizona, USA
    Under where would I put my example?
     
  19. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
  20. WildWeazel

    WildWeazel -- Turns to Completion

    Joined:
    Jul 14, 2003
    Messages:
    6,837
    Location:
    %CIV3%\Conquests\Scenarios\
    That would be good. I have no idea what I'm doing. :crazyeye:
     

Share This Page