Content deleted Content added
→res_col_header: reply |
|||
Line 55:
Would it be possible to write the code to allow for parameter values to be passed via template call? I'm specifically thinking of {{para|only_pld_pts}}, which is presently coded so that a truncated table is displayed if called (even if no value is assigned). If you look at the [[2015 FIFA Women's World Cup qualification#Group stage 3|UEFA Group Stage tables]] on the 2015 WWC qual article you can see that the tables are truncated to fit better in the article, but the tables are full size on the [[2015 FIFA Women's World Cup qualification (UEFA)#Group stage|main UEFA]] article and on each of the group articles. Could the coding for {{para|only_pld_pts}} be changed to require a specific '''yes''' or '''true''' value to activate? If that can be done, would passing the value via the template call be possible, e.g. set {{para|only_pld_pts|{{{trunc}}}}} in the module and call <code><nowiki>{{2015 FIFA Women's World Cup Group A table|trunc=true}}</nowiki></code>? -- [[User:Jkudlick|Jkudlick]] ([[User talk:Jkudlick|talk]]) 12:38, 7 November 2014 (UTC)
:{{ping|Jkudlick}}This would be possible, do you want me to implement it for the group A to see whether my idea works? I think having values yes, y, true, t and 1 (independent of case) would catch all options, or should there be more options? <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]] [[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 15:21, 7 November 2014 (UTC)
|