Template:Related articles: Difference between revisions

Current answers. Practical procedures. Reliable reference.
Jump to navigation Jump to search
EDFM initial deployment: seed template
 
Add optional label= parameter (defaults to unchanged text) so the same tile component can serve as a hub page's primary navigation cards
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-box">'''Related articles:''' {{{1}}}</div><noinclude>
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-related">
<div class="edfm-related-label">{{{label|Related Field Manual Entries}}}</div>
<div class="edfm-related-links">{{{1}}}</div>
</div><noinclude>
== Usage ==
== Usage ==
<pre>{{Related articles|[[Page one]] &bull; [[Page two]]}}</pre>
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 <code>&amp;bull;</code>, since spacing/gap between tiles is handled by
CSS margins on each tile, not a separator character.
 
<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]]}}