The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Samples: Difference between revisions

From The Codex
GiverOfThePeace
GiverOfThePeace (talk | contribs) (Created page with "<includeonly>{{#invoke:Template documentation|samples}}</includeonly><noinclude>{{documentation}}</noinclude>")
GiverOfThePeace
GiverOfThePeace (talk | contribs) (1 revision imported)
m
 
(No difference)

Latest revision as of 23:35, 13 January 2024

Shows sample usage of a template on documentation pages.

Parameters

Template invocations that should be showcased are passed as numbered parameters to the template, wrapped in <nowiki></nowiki> tags.

Sample output

{{samples|<nowiki>{{main|The Codex Wiki}}|{{main|Son Goku}}}}</nowiki> gives...

{{main|The Codex Wiki}} gives...

Main article: The Codex Wiki

{{main|Son Goku}} gives...

Main article: Son Goku

See also

Module:Template documentation for the Lua module that handles this template's logic