[solved] Where to put a [language] toplevel tag?

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
WhiteWolf
Forum Regular
Posts: 370
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

[solved] Where to put a [language] toplevel tag?

Post by WhiteWolf » November 24th, 2017, 3:17 pm

Hi,

I'd like to add a [language] tag for a new weapon type, but where does this tag need to go? The wiki only say its toplevel, so does it go directly to [campaign], or [scenario]? Or where?
https://wiki.wesnoth.org/LanguageWML

Thanks,
WhiteWolf
Last edited by WhiteWolf on November 24th, 2017, 3:31 pm, edited 1 time in total.
Author of the Underness Series, consisting of V parts: The Desolation of Karlag, The Blind Sentinel, The Stone of the North, The Invasion Of The Western Cavalry, Fingerbone of Destiny
Standalone works: The Ravagers - now published!

User avatar
Ravana
Moderator
Posts: 1884
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Where to put a [language] toplevel tag?

Post by Ravana » November 24th, 2017, 3:21 pm

Toplevel means it goes next to other toplevel tags, not inside anything.

User avatar
WhiteWolf
Forum Regular
Posts: 370
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

Re: Where to put a [language] toplevel tag?

Post by WhiteWolf » November 24th, 2017, 3:31 pm

So #ifdef CAMPAIGN_..., found it, thanks :)
Author of the Underness Series, consisting of V parts: The Desolation of Karlag, The Blind Sentinel, The Stone of the North, The Invasion Of The Western Cavalry, Fingerbone of Destiny
Standalone works: The Ravagers - now published!

Post Reply