Template:S-start is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
|
||
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Usage question for s-off and s-gov
editIs there documentation for when to use Template:S-off vs Template:S-gov? My initial though was just that perhaps the difference between the two would be that S-off are elected vs S-gov are appointed government offices? But that doesn't seem to govern current usage. Want to know the right way so I can correct it when I see it. --Asdasdasdff (talk) 17:58, 12 December 2020 (UTC)
- I'd be inclined to check what appeared on the predecessor & successor's succession boxes. Cabayi (talk) 18:44, 12 December 2020 (UTC)
- Same, but I'd rather have a rule to rely on. --Asdasdasdff (talk) 22:26, 12 December 2020 (UTC)
As parameter for Title section
editAt 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:
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)
- 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)
S-aft as= contains an additional break
editCan 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)
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>}}
Done thanks Neveselbert [2] --Find bruce (talk) 23:58, 22 November 2021 (UTC)
Text size
editWikipedia 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)