Wikipedia talk:Wikipedia Signpost/Templates/block quote

Signpost quote template

edit

[moved from User talk:Jonesey95.]
Hi Jonesey, note [1]; the previous edits changed the appearance of many old Signpost articles that were designed to have background shading. It also led to multi-para quotes being broken up. It just didn't look right, and given the potentially large number of articles involved, going back many years, this seems like the easiest solution. Best, --Andreas JN466 15:24, 26 January 2023 (UTC)Reply

I made the edit so that the function of this template would match its name (inline, not block content), and to fix Linter errors where the template is used with indenting colons. If this is what you want, please fix all of the instances where this template is indented with colons so that they do not cause Linter errors. You can find a list of those pages at this link. Also please move the page to a name that matches its function, such as "Block long quote", since it is a block template, not an inline template (see the documentation at {{Talk quote block}} for details). Pinging JPxG as an FYI, since that editor appears to be interested in Signpost formatting and cleanup these days. – Jonesey95 (talk) 15:38, 26 January 2023 (UTC)Reply
I'll leave it to JPxG, as he's the editor-in-chief.   But I don't think it's likely that there are many pages at all where this template is combined with colons. It's generally present in Signpost draft articles, because it is part of the quote section of Template:Signpost draft helper, which generates this:

This page is a draft for the next issue of the Signpost. Below is some helpful code that will help you write and format a Signpost draft. If it's blank, you can fill out a template by copy-pasting this in and pressing 'publish changes': {{subst:Wikipedia:Wikipedia Signpost/Templates/Story-preload}}


Images and Galleries
Sidebar images

To put an image in your article, use the following template (link):

 
I understand the primacy of pure feeling in creative art.
{{Wikipedia:Wikipedia Signpost/Templates/Filler image-v2
 |size      = 300px
 |fullwidth = no
 |alt       = TKTK
 |caption   = 
 |image     = 
}}

This will create the file on the right. Keep the 300px in most cases. If writing a 'full width' article, change |fullwidth=no to |fullwidth=yes.

Inline images

Placing

{{Wikipedia:Wikipedia Signpost/Templates/Inline image
 |size     = 300px
 |align    = center
 |alt      = TKTK
 |caption  = 
 |image    =
}}

(link) will instead create an inline image like below

The significant thing is feeling, as such, quite apart from the environment in which it is called forth.
Galleries

To create a gallery, use the following

<gallery style="float:right;" mode=packed | heights=200px>
|TKTK
|TKTK
</gallery>

Each line inside the tags should be formatted like File:Whatever.jpg|Caption). This creates:

If you want it centered, remove tstyle="float:right;" from the first line.

Quotes
Framed quotes

To insert a framed quote like the one on the right, use this template (link):

{{Wikipedia:Wikipedia Signpost/Templates/Filler quote-v2
 |1         = 
 |author    = 
 |source    = 
 |fullwidth = 
}}

If writing a 'full width' article, change |fullwidth=no to |fullwidth=yes.

Pull quotes

To insert a pull quote like

use this template (link):

{{Wikipedia:Wikipedia Signpost/Templates/Quote
 |1         = 
 |source    = 
}}
Long quotes

To insert a long inline quote like

The goose is on the loose! The geese are on the lease!
— User:Oscar Wilde
— Quotations Notes from the Underpoop

use this template (link):

{{Wikipedia:Wikipedia Signpost/Templates/block quote
 | text   = 
 | by     = 
 | source = 
 | ts     = 
 | oldid  = 
}}
Side frames

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A caption

Side frames help put content in sidebar vignettes. For instance, this one (link):

{{Wikipedia:Wikipedia Signpost/Templates/Filler frame-v2
 |1         = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
 |caption   = A caption
 |fullwidth = no
}}

gives the frame on the right. This is useful when you want to insert non-standard images, quotes, graphs, and the like.

Example − Graph/Charts
A caption

For example, to insert the {{Graph:Chart}} generated by

{{Graph:Chart
 |width=250|height=100|type=line
 |x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9
}}

in a frame, simple put the graph code in |1=

{{Wikipedia:Wikipedia Signpost/Templates/Filler frame-v2
 |1=
{{Graph:Chart
 |width=250|height=100|type=line
 |x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9
}}
 |caption=A caption
 |fullwidth=no
}}

to get the framed Graph:Chart on the right.

If writing a 'full width' article, change |fullwidth=no to |fullwidth=yes.

Two-column vs full width styles

If you keep the 'normal' preloaded draft and work from there, you will be using the two-column style. This is perfectly fine in most cases and you don't need to do anything.

However, every time you have a |fullwidth=no and change it to |fullwidth=yes (or vice-versa), the article will take that style from that point onwards (|fullwidth=yes → full width, |fullwidth=no → two-column). By default, omitting |fullwidth= is the same as putting |fullwidth=no and the article will have two columns after that. Again, this is perfectly fine in most cases, and you don't need to do anything.

However, you can also fine-tune which style is used at which point in an article.

To switch from two-column → full width style midway in an article, insert

{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=yes}}

where you want the switch to happen.

To switch from full width → two-column style midway in an article, insert

{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=no}}

where you want the switch to happen.

Article series

To add a series of 'related articles' your article, use the following code

 
Related articles
Visual Editor

Five, ten, and fifteen years ago
1 January 2023

VisualEditor, endowment, science, and news in brief
5 August 2015

HTTPS-only rollout completed, proposal to enable VisualEditor for new accounts
17 June 2015

VisualEditor and MediaWiki updates
29 April 2015

Security issue fixed; VisualEditor changes
4 February 2015


More articles

{{Signpost series
 |type        = sidebar-v2
 |tag         = VisualEditor
 |seriestitle = Visual Editor
 |fullwidth   = no
}}

or

{{Signpost series
 |type        = sidebar-v2
 |tag         = VisualEditor
 |seriestitle = Visual Editor
 |fullwidth   = yes
}}

will create the sidebar on the right. If writing a 'full width' article, change |fullwidth=no to |fullwidth=yes. A partial list of valid |tag= parameters can be found at here and will decide the list of articles presented. |seriestitle= is the title that will appear below 'Related articles' in the box.

Alternatively, you can use

{{Signpost series
 |type        = inline
 |tag         = VisualEditor
 |tag_name    = visual editor
 |tag_pretext = the
}}

at the end of an article to create

  For more Signpost coverage on the visual editor see our visual editor series.

If you think a topic would make a good series, but you don't see a tag for it, or that all the articles in a series seem 'old', ask for help at the WT:NEWSROOM. Many more tags exist, but they haven't been documented yet.

Links and such

By the way, the template that you're reading right now is {{Editnotices/Group/Wikipedia:Wikipedia Signpost/Next issue}} (edit). A list of the preload templates for Signpost articles can be found here.



I think the name mismatch happened because User:Resident Mario, who created this template years ago, changed his mind on how exactly he wanted the quotes to look a few days after he created it. But it's been used with this design now for the best part of a decade, and because it's in the draft helper (as well as the editnotice and God knows where else ...) everybody is used to it. --Andreas JN466 17:05, 26 January 2023 (UTC)Reply
I went through and inspected all of the Signpost pages with transclusions of this template and fixed the Linter errors related to this template. I have also moved this page to a more sensible name. – Jonesey95 (talk) 18:23, 26 January 2023 (UTC)Reply
Thank you very much for all your efforts, that's very kind. Regards, Andreas JN466 21:50, 26 January 2023 (UTC)Reply

Thank you both for messing around with this: it is perhaps a happy coincidence, as I was trying to make sense of it a couple days ago myself. As far as I can tell, there are two nearly-identical Signpost pull-quote templates (the normal one and v2). Neither are used in a large number of pages, so I think that an AWB run could clear up whatever errors exist. It is pretty late, so I will not deal with it now, but it will be on my list! jp×g 12:46, 27 January 2023 (UTC)Reply

It looks like there are five or six quote templates in Category:Wikipedia Signpost templates. Fun! – Jonesey95 (talk) 14:32, 27 January 2023 (UTC)Reply
@Jonesey95: It is more than that: the whole thing is a mess. If you look at the full report from Wikipedia:Wikipedia Signpost/Omni-index, there are 300-some templates across the prefixes of Wikipedia:Signpost/Template:, Wikipedia:Signpost/Templates/, Wikipedia:Wikipedia Signpost/Template/, Wikipedia:Wikipedia Signpost/Templates/, and Template:Signpost. As far as I can tell (from Wikipedia:Wikipedia Signpost/Omni-index/Linkshere), the majority of these were either never used for anything, or used only a couple of times and forgotten about entirely. Some of them are redirects created from typo fixes in page titles with no incoming links... I have been trying to clean this mess up, but it is rough going (a batch nomination at RfD, for example, is likely to take weeks to complete). If you want to help spelunk, I am trying to keep some record of what's been done at Wikipedia:Wikipedia Signpost/Technical (and the talk page). jp×g 21:10, 27 January 2023 (UTC)Reply