Template:Related articles: Difference between revisions

Current answers. Practical procedures. Reliable reference.
Jump to navigation Jump to search
Redesign pass 2: render as a labelled row of link tiles instead of a plain bordered notice
Add optional label= parameter (defaults to unchanged text) so the same tile component can serve as a hub page's primary navigation cards
 
Line 1: Line 1:
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-related">
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-related">
<div class="edfm-related-label">Related Field Manual Entries</div>
<div class="edfm-related-label">{{{label|Related Field Manual Entries}}}</div>
<div class="edfm-related-links">{{{1}}}</div>
<div class="edfm-related-links">{{{1}}}</div>
</div><noinclude>
</div><noinclude>
== Usage ==
== Usage ==
Renders as a row of individually-boxed link tiles rather than a plain
Renders as a row of individually-boxed link tiles. Each wikilink becomes
bordered notice (2026-08-07 redesign). Each wikilink becomes its own tile
its own tile with a trailing arrow separate links with a plain space,
with a trailing arrow -- separate links with a plain space, not
not <code>&amp;bull;</code>, since spacing/gap between tiles is handled by
<code>&amp;bull;</code>, since spacing/gap between tiles is now handled by
CSS margins on each tile, not a separator character.
CSS margins on each tile, not a separator character.


<pre>{{Related articles|[[Page one]] [[Page two]]}}</pre>
<pre>{{Related articles|[[Page one]] [[Page two]]}}</pre>
The label is optional and defaults to "Related Field Manual Entries" —
override it for other uses of the same tile styling, e.g. a hub page's
primary browse-navigation cards (added 2026-08-07 for the Engineering
section, see [[Elite Dangerous Field Manual:Engineering Architecture]]):
<pre>{{Related articles|label=Browse Engineering|[[Engineering Blueprints]] [[Experimental Effects]] [[Engineers]]}}</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:06, 7 August 2026

Usage

Renders as a row of individually-boxed link tiles. Each wikilink becomes its own tile with a trailing arrow — separate links with a plain space, not &bull;, since spacing/gap between tiles is handled by CSS margins on each tile, not a separator character.

{{Related articles|[[Page one]] [[Page two]]}}

The label is optional and defaults to "Related Field Manual Entries" — override it for other uses of the same tile styling, e.g. a hub page's primary browse-navigation cards (added 2026-08-07 for the Engineering section, see Elite Dangerous Field Manual:Engineering Architecture):

{{Related articles|label=Browse Engineering|[[Engineering Blueprints]] [[Experimental Effects]] [[Engineers]]}}