Template:Lex: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
(Created page with "}}}|{{{2}}}|0|}}|{{{1}}}.{{#if: {{{2|}}}|{{{2}}}.||}}<noinclude> ===Usage=== This is a template designed to allow for easy citations of the Lexhatx within the wiki like Template:Lexh and Template:Org: Template:Lexh will display the "Lexh" ({{lexh|A|4.1}}), while Template:Lexh won't display it ({{lex|A|4.1}}) To use it, simple add the following code to the page: <nowiki>{{lex|Title#|Section#}}...")
 
mNo edit summary
 
Line 2: Line 2:


===Usage===
===Usage===
This is a template designed to allow for easy citations of the [[Law:El Lexhatx|Lexhatx]] within the wiki like [[Template:Lexh]] and [[Template:Org]]: [[Template:Lexh]] will display the "Lexh" ({{lexh|A|4.1}}), while [[Template:Lexh]] won't display it ({{lex|A|4.1}})
This is a template designed to allow for easy citations of the [[Law:El Lexhatx|Lexhatx]] within the wiki like [[Template:Lexh]] and [[Template:Org]]. The difference is that [[Template:Lexh]] will display the "Lexh" ({{lexh|A|4.1}}), while [[Template:Lexh]] won't display it ({{lex|A|4.1}})


To use it, simple add the following code to the page: <nowiki>{{lex|Title#|Section#}}</nowiki>, replacing "Title#" and "Section#" with your desired title and section '''inlcunding all subsections in the #.# format.''' For example,
To use it, simple add the following code to the page: <nowiki>{{lex|Title#|Section#}}</nowiki>, replacing "Title#" and "Section#" with your desired title and section '''inlcunding all subsections in the #.# format.''' For example,

Latest revision as of 04:12, 31 March 2023

[[Law:El Lexhatx#Link{{{1}}}.0|{{{1}}}.]]

Usage

This is a template designed to allow for easy citations of the Lexhatx within the wiki like Template:Lexh and Template:Org. The difference is that Template:Lexh will display the "Lexh" (Lexh.A.4.1.), while Template:Lexh won't display it (A.4.1.)

To use it, simple add the following code to the page: {{lex|Title#|Section#}}, replacing "Title#" and "Section#" with your desired title and section inlcunding all subsections in the #.# format. For example,

  • to cite Lexh.A.4 you would type {{lex|A|4}} : the results would look like this: A.4.
  • to cite Lexh.A.4.1 you would type {{lex|A|4.1}} : the results would look like this: A.4.1.
  • to cite Lexh.A.4.1.7 you would type {{lex|A|4.1.7}} : the results would look like this: A.4.1.7.
  • the Titles are referred also by name. For example, you can just type [[Title A]] to obtain Title A. To use the above template instead you shouldn't put the Section#, i.e.: for Title A you would type {{lexh|A}} and the results would look like A.
ScriberyBadge.png Scribe note
It's not yet implemented in all titles and (sub)sections.