Template talk:Football squad manager

Latest comment: 12 years ago by WOSlinker in topic Conversion of template to use proper lists

Update requested to handle blank "title" parameter

edit

{{editprotected}} As currently designed, this template will default to using Manager if the "title" parameter is not specified. However, if the "title" parameter is blank (i.e. "title="), then it displays nothing. This can be fixed be changing the first line from:

<small>{{{title|Manager}}}:</small> {{{name}}}<noinclude>{{pp-template}}

to:

<small>{{#if:{{{title|}}}|{{{title}}}|Manager}}:</small> {{{name}}}<noinclude>{{pp-template}}
Seems non-controversial, done. Woody (talk) 13:33, 28 September 2008 (UTC)Reply

&nbsp - tile wrap

edit

{{editprotected}} Needs a nbsp so that the title wraps with the name - in the same fashion as the player numbers.

<small>{{#if:{{{title|}}}|{{{title}}}|Manager}}:</small>&nbsp;{{{name}}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

cheers--TheAllSeeingEye (talk) 03:36, 12 February 2009 (UTC)Reply

  Done Thanks, PeterSymonds (talk) 01:36, 14 February 2009 (UTC)Reply

Conversion of template to use proper lists

edit

Just to let anyone watching know, I'm planning on updating this template and related templates to use proper lists with the help of the hlist class. -- WOSlinker (talk) 21:57, 12 December 2011 (UTC)Reply