Template:Substance overview: Difference between revisions
(Create the shared At a glance card) |
(Add shared article navigation with category and backlink links) |
||
| Line 1: | Line 1: | ||
<includeonly><div class="wpw-overview" role=" | <includeonly><div class="wpw-overview" data-wpw-category="{{{category|Categories}}}" role="group" aria-label="At a glance"> | ||
<div | <div class="wpw-overview-heading">At a glance</div> | ||
<div | <div class="wpw-overview-body"> | ||
<div | <div class="wpw-overview-details">'''Category''' [[:Category:{{{category|Categories}}}|{{{category|Categories}}}]]{{{details|}}}</div>{{{image|}}} | ||
</div></div></includeonly><noinclude> | </div> | ||
Add this overview at the top of an article. Set <code>category</code> to its primary category. Use <code>details</code> for a verified symbol, formula or structure link. Use <code>image</code> for a diagram of the exact form shown. | <div class="wpw-overview-navigation"><span class="wpw-related-jump">[[:Category:{{{category|Categories}}}|Related pages]]</span><span class="wpw-backlinks-jump">[[Special:WhatLinksHere/{{FULLPAGENAME}}|Backlinks]]</span></div> | ||
</div></includeonly><noinclude> | |||
Add this overview at the top of an article. Set <code>category</code> to its primary category. Use <code>details</code> for a verified symbol, formula or structure link. Use <code>image</code> for a diagram of the exact form shown. A topic tag uses a normal category link, such as <code><nowiki>[[Category:Topic: Vitamin C]]</nowiki></code>. The reader's related list uses these tags and the primary category. | |||
</noinclude> | </noinclude> | ||
Latest revision as of 19:13, 5 December 2026
Add this overview at the top of an article. Set category to its primary category. Use details for a verified symbol, formula or structure link. Use image for a diagram of the exact form shown. A topic tag uses a normal category link, such as [[Category:Topic: Vitamin C]]. The reader's related list uses these tags and the primary category.