Difference between revisions of "Talk:Semantic Wiki/Templates"

From BattleMaster Wiki
Jump to navigation Jump to search
(New page: We should use ParserFunctions on these templates, if we don't already. That way, items that are not specified will not be just empty, but the entire row can be omitted, for example. --~~~...)
 
(→‎Template request: new section)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
We should use ParserFunctions on these templates, if we don't already. That way, items that are  not specified will not be just empty, but the entire row can be omitted, for example. --[[User:Tom|Tom]] 13:28, 6 February 2009 (UTC)
 
We should use ParserFunctions on these templates, if we don't already. That way, items that are  not specified will not be just empty, but the entire row can be omitted, for example. --[[User:Tom|Tom]] 13:28, 6 February 2009 (UTC)
 +
:That is something I have to look at. I stopped looking at the parser functions when I realized how many of them weren't supported under the old wiki. I have to go back and look at them again, and maybe rethink some of the RB templates to account for the specific positions. The RB stuff was designed to be more generic. Under the new semantic stuff, we'll need some specifics. --[[User:Indirik|Indirik]] 13:42, 6 February 2009 (UTC)
 +
::Not a problem. We already ''have'' specifics - the game details the specifics of a realm or region. There are some additionals and some that people might simply want to leave out, but a rough outline is there right from the game. --[[User:Tom|Tom]] 13:55, 6 February 2009 (UTC)
 +
 +
== simplify, please ==
 +
 +
RealmBox is way too complicated. Please, let us create a simple system. It doesn't have to be 500% configurable. On the contrary, we should think more of the readers and less of the editors - consistency is a good thing. --[[User:Tom|Tom]] 18:26, 6 February 2009 (UTC)
 +
 +
:Yes, I agree. The basic building blocks are too complicated. I am working on new templates that make it easier to use. See: [[Template:RBRealmTwo]] This puts it pretty much on par with some of the other popular templates such as [[Template:Infobox Realm]] and [[Template:Realm Infobox]]. All of the individual building blocks that make up the RealmBox should be shuffled aside and kept out of the way of casual users. One thing I want to be sure of is that it is configurable enough that people will use it, rather than create their own. That's why so many people create their own infoboxes that only get used once: They want to add, for example, an army list, or not show a flag, etc. --[[User:Indirik|Indirik]] 18:48, 6 February 2009 (UTC)
 +
::Understood. By using conditionals, we should be able to code some nifty things where people can pick and choose by parameters, e.g. "showflag = yes" etc. --[[User:Tom|Tom]] 19:14, 6 February 2009 (UTC)
 +
 +
== Template request ==
 +
 +
An inline template that converts RL dates to BM dates would be useful. For example:
 +
 +
; Syntax:
 +
: <tt>On <nowiki>{{BMdate|2014|03|08}}</nowiki> the monsters claimed Aspar.</tt>
 +
 +
; Produces:
 +
: <tt>On {{t|8 March 2014|day 5 year 30}} the monsters claimed Aspar.</tt> (note the actual date appears as hover text over the BM date)
 +
 +
It would also be useful to include a "sortkey" for proper sorting when using the template in sortable tables. [[User:Buffalkill|Buffalkill]] ([[User talk:Buffalkill|talk]]) 22:53, 8 March 2014 (CET)

Latest revision as of 23:53, 8 March 2014

We should use ParserFunctions on these templates, if we don't already. That way, items that are not specified will not be just empty, but the entire row can be omitted, for example. --Tom 13:28, 6 February 2009 (UTC)

That is something I have to look at. I stopped looking at the parser functions when I realized how many of them weren't supported under the old wiki. I have to go back and look at them again, and maybe rethink some of the RB templates to account for the specific positions. The RB stuff was designed to be more generic. Under the new semantic stuff, we'll need some specifics. --Indirik 13:42, 6 February 2009 (UTC)
Not a problem. We already have specifics - the game details the specifics of a realm or region. There are some additionals and some that people might simply want to leave out, but a rough outline is there right from the game. --Tom 13:55, 6 February 2009 (UTC)

simplify, please

RealmBox is way too complicated. Please, let us create a simple system. It doesn't have to be 500% configurable. On the contrary, we should think more of the readers and less of the editors - consistency is a good thing. --Tom 18:26, 6 February 2009 (UTC)

Yes, I agree. The basic building blocks are too complicated. I am working on new templates that make it easier to use. See: Template:RBRealmTwo This puts it pretty much on par with some of the other popular templates such as Template:Infobox Realm and Template:Realm Infobox. All of the individual building blocks that make up the RealmBox should be shuffled aside and kept out of the way of casual users. One thing I want to be sure of is that it is configurable enough that people will use it, rather than create their own. That's why so many people create their own infoboxes that only get used once: They want to add, for example, an army list, or not show a flag, etc. --Indirik 18:48, 6 February 2009 (UTC)
Understood. By using conditionals, we should be able to code some nifty things where people can pick and choose by parameters, e.g. "showflag = yes" etc. --Tom 19:14, 6 February 2009 (UTC)

Template request

An inline template that converts RL dates to BM dates would be useful. For example:

Syntax
On {{BMdate|2014|03|08}} the monsters claimed Aspar.
Produces
On day 5 year 30 the monsters claimed Aspar. (note the actual date appears as hover text over the BM date)

It would also be useful to include a "sortkey" for proper sorting when using the template in sortable tables. Buffalkill (talk) 22:53, 8 March 2014 (CET)