Main Page Did You Know: Difference between revisions
Automated upload via Philadelphia.Wiki content pipeline |
Automated improvements: Improve template documentation with usage examples, parameter list, expand fact slots to 8, add accessibility notes and citation guidelines |
||
| Line 2: | Line 2: | ||
'''Did You Know''' - Interesting facts for the main page. | '''Did You Know''' - Interesting facts for the main page. | ||
Usage | ==Usage== | ||
Add facts as parameters using fact1=, fact2=, etc. The template supports up to eight facts (fact1 through fact8). | |||
===Parameters=== | |||
* '''fact1''' through '''fact8''': Individual "Did You Know" facts to display. Each fact should be a complete sentence with inline citations. | |||
===Example=== | |||
<pre> | |||
{{Main Page Did You Know | |||
|fact1=The [[Great Barrier Reef]] is visible from space and spans over 2,300 kilometers? | |||
|fact2=[[Honey]] never spoils and archaeologists have found 3,000-year-old honey in Egyptian tombs that was still edible? | |||
|fact3=The [[Library of Congress]] contains more than 170 million items in its collection? | |||
}} | |||
</pre> | |||
===Guidelines=== | |||
Facts should be drawn from recently created or significantly updated articles, be verifiable through reliable sources, and present genuinely interesting information to readers. Each fact should include appropriate inline citations and wikilinks to relevant articles. For optimal display, facts should be concise, typically between 100-200 characters, forming a single clear sentence that engages reader curiosity. | |||
The template uses a warm color scheme with adequate contrast ratios to meet accessibility standards. The background color (#fff8e7) paired with text colors provides sufficient contrast for readability according to WCAG guidelines. | |||
===See also=== | |||
* [[Template:Main Page]] | |||
* [[Wikipedia:Did you know]] (for content guidelines reference) | |||
[[Category:Templates]] | [[Category:Templates]] | ||
| Line 13: | Line 35: | ||
{{#if:{{{fact4|}}}|<li>{{{fact4}}}</li>|}} | {{#if:{{{fact4|}}}|<li>{{{fact4}}}</li>|}} | ||
{{#if:{{{fact5|}}}|<li>{{{fact5}}}</li>|}} | {{#if:{{{fact5|}}}|<li>{{{fact5}}}</li>|}} | ||
{{#if:{{{fact6|}}}|<li>{{{fact6}}}</li>|}} | |||
{{#if:{{{fact7|}}}|<li>{{{fact7}}}</li>|}} | |||
{{#if:{{{fact8|}}}|<li>{{{fact8}}}</li>|}} | |||
</ul> | </ul> | ||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 03:01, 12 February 2026
Did You Know - Interesting facts for the main page.
Usage
Add facts as parameters using fact1=, fact2=, etc. The template supports up to eight facts (fact1 through fact8).
Parameters
- fact1 through fact8: Individual "Did You Know" facts to display. Each fact should be a complete sentence with inline citations.
Example
{{Main Page Did You Know
|fact1=The [[Great Barrier Reef]] is visible from space and spans over 2,300 kilometers?
|fact2=[[Honey]] never spoils and archaeologists have found 3,000-year-old honey in Egyptian tombs that was still edible?
|fact3=The [[Library of Congress]] contains more than 170 million items in its collection?
}}
Guidelines
Facts should be drawn from recently created or significantly updated articles, be verifiable through reliable sources, and present genuinely interesting information to readers. Each fact should include appropriate inline citations and wikilinks to relevant articles. For optimal display, facts should be concise, typically between 100-200 characters, forming a single clear sentence that engages reader curiosity.
The template uses a warm color scheme with adequate contrast ratios to meet accessibility standards. The background color (#fff8e7) paired with text colors provides sufficient contrast for readability according to WCAG guidelines.
See also
- Template:Main Page
- Wikipedia:Did you know (for content guidelines reference)