Template:Summarize/testcases
This is the template test cases page for the sandbox of Template:Summarize. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Sandbox version
[edit]For an article which should include a summary of another article:
{{summarize/sandbox|from|Barack Obama}}
produces
This article should include a summary of Barack Obama. See Wikipedia:Summary style for information on how to incorporate it into this article's main text. |
For a section which should be summarized, and a link provided to the main article:
{{summarize/sandbox|section=y|to|Barack Obama}}
produces
This section should be summarized in Barack Obama and a link provided by using the main template. See guidance in Wikipedia:Summary style. |
An optional date parameter can be added to date the notice. Add "|date=" to the template with the date of the template's application
{{summarize/sandbox|to|Barack Obama|date=December 2024}}
This article should be summarized in Barack Obama and a link provided by using the main template. See guidance in Wikipedia:Summary style. (December 2024) |
{{summarize/sandbox|from|Barack Obama|date=December 2024}}
This article should include a summary of Barack Obama. See Wikipedia:Summary style for information on how to incorporate it into this article's main text. (December 2024) |
Sandbox brevity feature test
[edit]For an article which should include a summary of another article:
{{summarize/sandbox|from|Barack Obama|brevity=y}}
produces
This article should include a brief summary of Barack Obama. See Wikipedia:Summary style for information on how to incorporate it into this article's main text. |
For a section which should be summarized, and a link provided to the main article:
{{summarize/sandbox|brevity=yes|section=y|to|Barack Obama}}
produces
This section should be briefly summarized in Barack Obama and a link provided by using the main template. See guidance in Wikipedia:Summary style. |
An optional date parameter can be added to date the notice. Add "|date=" to the template with the date of the template's application
{{summarize/sandbox|to|Barack Obama|date=December 2024}}
This article should be briefly summarized in Barack Obama and a link provided by using the main template. See guidance in Wikipedia:Summary style. (December 2024) |
{{summarize/sandbox|from|Barack Obama|date=December 2024}}
This article should include a brief summary of Barack Obama. See Wikipedia:Summary style for information on how to incorporate it into this article's main text. (December 2024) |
Live version
[edit]For an article which should include a summary of another article:
{{summarize|from|Barack Obama}}
produces
This article should include a summary of Barack Obama. |
For a section which should be summarized, and a link provided to the main article:
{{summarize|to|Barack Obama}}
produces
This article should be summarized in Barack Obama and a link provided from there to here using the {{Main}} template. |
An optional date parameter can be added to date the notice. Add "|date=" to the template with the date of the template's application
{{summarize|to|Barack Obama|date=December 2024}}
This article should be summarized in Barack Obama and a link provided from there to here using the {{Main}} template. (December 2024) |
{{summarize|from|Barack Obama|date=December 2024}}
This article should include a summary of Barack Obama. (December 2024) |