Content deleted Content added
res_col_header added |
→Passing parameters via template calls: new section |
||
Line 17:
For '''''res_col_header= ''''' can you also have '''Comments''' as per [[2014–15 Ukrainian First League#League table|2014–15 Ukrainian First League]] ? [[User:Brudder Andrusha|Brudder Andrusha]] ([[User talk:Brudder Andrusha|talk]]) 05:28, 7 November 2014 (UTC)
== Passing parameters via template calls ==
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)
|