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/doc

From The Codex
Revision as of 15:55, 9 March 2023 by GiverOfThePeace (talk | contribs) (Created page with "{{Documentation page |description = 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 <code><nowiki></nowiki></code> tags. |samples = {{#invoke:Template documentation|samples|documentation = 1|1 = <nowiki>{{samples|<nowiki>{{main|The Codex Wiki}}</nowiki>|<nowiki>{{main|Son Goku}}</nowiki>}}</nowiki>}} |see = Mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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