Jump to content

Template talk:S-start

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

As parameter for Title section

[edit]

At the moment the As parameter only works in the before and after sections. It would be helpful to have it in the title section as well, in this case because i'm using it for sports and the team was known by a different name back in 1927. So using the code below:
{{s-start}}
{{s-sports|chat}}
{{s-bef|before=[[Sunnyside Hospital|Sunnyside]]}}
{{s-ttl|title=Winner* |years=[[1927 Chatham Cup|1927]] |as=Ponsonby AFC}}
{{s-aft|after=[[Petone FC|Petone]]}}
{{succession box |title=[[Chatham Cup|Chatham Cup Winner]]* |before=[[Wellington Marist]] |after=[[Auckland Thistle]] |years=[[1933 Chatham Cup|1933]]}}
{{s-end}}
{{Center|<small>*As Ponsonby AFC</small>}}
I get:

Chatham Cup
Preceded by Winner*
1927
Succeeded by
Preceded by Chatham Cup Winner*
1933
Succeeded by
*As Ponsonby AFC

But would prefer, rather than the work around I've done, to use the "As parameter" to put it in the center box to show the club won it back in 1927 under that name, since the club is now called Mount Albert-Ponsonby.NZFC(talk)(cont) 21:11, 24 April 2021 (UTC)[reply]

For unusual applications like this, you can add this manually, eg |title=Winner<br /><small>''as Ponsonby AFC''</small> [1] --Find bruce (talk) 23:58, 22 November 2021 (UTC)[reply]

S-aft as= contains an additional break

[edit]

Can the extra break in the as= field in {{S-aft}} be removed as it makes the box render in a lopsided manner with excessive whitespace. --Find bruce (talk) 00:34, 11 November 2021 (UTC)[reply]

The relevant code for s-bef is {{#if:{{{as|}}}|      <small>'''''as {{{as}}}'''''</small>}}
S-aft contains an extra break  {{#if:{{{as|}}}|<br /><small>'''''as {{{as}}}'''''</small>}}

Political offices
Preceded byas Minister for Trade and Competitiveness Minister for Trade
2013
Succeeded byas Minister for Trade and Investment

 Done thanks Neveselbert [2] --Find bruce (talk) 23:58, 22 November 2021 (UTC)[reply]

Text size

[edit]

Wikipedia recently increased the default text size for logged out users. However, this series of templates does not work with this change. It always displays text in the text size that Wikipedia has used by default before. Template:Succession box also has this problem. Thanks Cyrobyte (talk) 04:50, 4 July 2024 (UTC)[reply]

S-bef as= font size is too small and inconsistent

[edit]

@Jonesey95: Larger font size for the "as..." parameter (similar to the s-aft template). RyanW1995 (talk) 14:37, 30 October 2024 (UTC)[reply]

Political offices
Preceded byas Minister for Trade and Competitiveness Minister for Trade
2013
Succeeded byas Minister for Trade and Investment

As you can see, the font size for the "as.." parameter in s-bef and s-aft templates are inconsistent.

 DoneJonesey95 (talk) 15:54, 30 October 2024 (UTC)[reply]