Template:Signpost draft helper
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=|yes}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=yes}}
- Signpost draft helper ( )
- For more options, replace
{{Signpost draft helper}}
with{{Signpost draft helper|advanced=yes}}
Article series
|
---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}} To add a series of 'related articles' your article, use the following code {{Wikipedia:Wikipedia Signpost/Templates/Tag series|image=|seriestitle=Visual Editor|tag=VisualEditor|limit=5|toggle_title=VisualEditor|sortdir=descending|version=2 |fullwidth=no}} will create the sidebar on the right. If writing a 'full width' article, change Alternatively, you can use at the end of an article to create {{Wikipedia:Wikipedia Signpost/Templates/Tag series inline|tag=VisualEditor|tag_pretext=the|tag_name=visual editor}} 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. |
Images and Galleries
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}}
To put an image in your article, use the following code {{Wikipedia:Wikipedia Signpost/Templates/Filler image-v2 |
image= | size=300px | alt=Placeholder alt text | caption=CAPTION | fullwidth=no
}} This will create the file on the right. Keep the 300px in most cases. If writing a 'full width' article, change
Placing will instead create an inline image like below {{Wikipedia:Wikipedia Signpost/Templates/Inline image |
image= | size=300px | align=center | alt=Placeholder alt text | caption=CAPTION
}}
To create a gallery, use the following to create |
Reader polls
| ||||||
---|---|---|---|---|---|---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Filler poll-v2 |
votepage=Wikipedia:Wikipedia Signpost/Templates/Voter/Issues/Test Poll/Votes | question=Which is the correct answer? | option1=Answer 1 | option2=Answer 2 | option3=Answer 3 | fullwidth=no
}} To create a poll, use the following code Only three options/answers are supported. If writing a 'full width' article, change |
Quotes
| ||||
---|---|---|---|---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}}
{{Wikipedia:Wikipedia Signpost/Templates/Filler quote-v2 |
1=Lorem ipsum dolor sit amet... | author=AUTHOR | source=SOURCE | fullwidth=no
}} To insert a framed quote like the one on the right, use If writing a 'full width' article, change
To insert a pull quote like
use
To insert a long inline quote like use |
Side Frames
| ||||||
---|---|---|---|---|---|---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}} {{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
}} Side frames help put content in sidebar vignettes. For instance gives the frame on the right. This is useful when you want to insert non-standard images, quotes, graphs, and the like.
{{Wikipedia:Wikipedia Signpost/Templates/Filler frame-v2 |
1=<graph>{"legends":[],"scales":[{"type":"linear","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":false,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":"category10"}],"version":2,"marks":[{"type":"line","properties":{"hover":{"stroke":{"value":"red"}},"update":{"stroke":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"stroke":{"scale":"color","field":"series"},"strokeWidth":{"value":2.5}}},"from":{"data":"chart"}}],"height":100,"axes":[{"type":"x","scale":"x","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false}],"data":[{"format":{"parse":{"y":"integer","x":"integer"},"type":"json"},"name":"chart","values":[{"y":10,"series":"y","x":1},{"y":12,"series":"y","x":2},{"y":6,"series":"y","x":3},{"y":14,"series":"y","x":4},{"y":2,"series":"y","x":5},{"y":10,"series":"y","x":6},{"y":7,"series":"y","x":7},{"y":9,"series":"y","x":8}]}],"width":250}</graph> | caption=A caption | fullwidth=no
}} For example, to insert the {{Graph:Chart}} generated by in a frame, simple put the graph code in to get the framed Graph:Chart on the right. If writing a 'full width' article, change |
Two-column vs full width styles
|
---|
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=yes}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=yes}} 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 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 where you want the switch to happen. To switch from full width → two-column style midway in an article, insert where you want the switch to happen. |
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2|fullwidth=}} {{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=}}