[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.

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

Postby 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
WhiteWolf
Forum Regular
 
Posts: 351
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

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

Postby Ravana » November 24th, 2017, 3:21 pm

Toplevel means it goes next to other toplevel tags, not inside anything.
User avatar
Ravana
Moderator
 
Posts: 1504
Joined: January 29th, 2012, 12:49 am
Location: Estonia

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

Postby 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!
User avatar
WhiteWolf
Forum Regular
 
Posts: 351
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary


Return to WML Workshop

Who is online

Users browsing this forum: Bing [Bot] and 3 guests