Difference between revisions of "Template:Id"
Jump to navigation
Jump to search
(Created page with "<noinclude> This template is used to give an id to an element. This can be useful for multiple reasons like providing links to subtitles that are located on a different page....") |
(No difference)
|
Revision as of 05:36, 16 April 2021
This template is used to give an id to an element. This can be useful for multiple reasons like providing links to subtitles that are located on a different page.
Usage
Code | Example | Result |
---|---|---|
{{raw:data:id|actual number id|content}} |
{{raw:data:id|123|content}} |
this is the content
|
{{raw:data:id|actual text id|content}} |
{{raw:data:id| nice subtitle|this is the content}} |
this is the content
- note: if space characters are used the id will replace spaces with "_". So in this case the id is "actual_text_id" |
{{{2}}}