Template:Lexh: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Law:El Lexhatx#Link{{{1}}}.{{{2}}}|Lexh.{{{1}}}.{{{2}}}]]<noinclude>
[[Law:El Lexhatx#Link{{{1}}}.{{#if: {{{2|}}}|{{{2}}}|0|}}|Lexh.{{{1}}}.{{#if: {{{2|}}}|{{{2}}}.||}}]]<noinclude>


===Usage===
===Usage===
This is a template designed to allow for easy citations of the [[Law:El Lexhatx|Lexhatx]] within the wiki. To use it, simple add the following code to the page: <nowiki>{{org|Title#|Section#}}</nowiki>, replacing "Title#" and "Section#" with your desired title and section.
This is a template designed to allow for easy citations of the [[Law:El Lexhatx|Lexhatx]] within the wiki like [[Template:Lex]] 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}})


'''Currently it supports only the first section'''
This is a template designed to allow for easy citations of the [[Law:El Lexhatx|Lexhatx]] within the wiki like [[Template:Org]].  To use it, simple add the following code to the page: <nowiki>{{lexh|Title#|Section#}}</nowiki>, 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 '''<nowiki>{{lexh|A|4}}</nowiki>''' :  the results would look like this: {{lexh|A|4}}
*to cite '''Lexh.A.4.1''' you would type '''<nowiki>{{lexh|A|4.1}}</nowiki>''' :  the results would look like this: {{lexh|A|4.1}}
*to cite '''Lexh.A.4.1.7''' you would type '''<nowiki>{{lexh|A|4.1.7}}</nowiki>''' :  the results would look like this: {{lexh|A|4.1.7}}
*the Titles are referred '''also''' by name.  For example, you can just type '''<nowiki>[[Title A]]</nowiki>''' to obtain [[Title A]]. To use the above template instead you shouldn't put the Section#, i.e.: for Title A you would type '''<nowiki>{{lexh|A}}</nowiki>''' and the results would look like {{lexh|A}}


For example, to cite Lexh.D.2 you would type <nowiki>{{lexh|D|2}}</nowiki>. The results would look like this: {{lexh|D|2}}.
{{ScribeNote|note=It's not '''yet''' implemented in all titles and (sub)sections.}}


[[Category:Templates]][[Category:Chancery templates]]</noinclude>
[[Category:Templates]][[Category:Chancery templates]]</noinclude>

Latest revision as of 05:12, 31 March 2023

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

Usage

This is a template designed to allow for easy citations of the Lexhatx within the wiki like Template:Lex 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.)

This is a template designed to allow for easy citations of the Lexhatx within the wiki like Template:Org. To use it, simple add the following code to the page: {{lexh|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 {{lexh|A|4}} : the results would look like this: Lexh.A.4.
  • to cite Lexh.A.4.1 you would type {{lexh|A|4.1}} : the results would look like this: Lexh.A.4.1.
  • to cite Lexh.A.4.1.7 you would type {{lexh|A|4.1.7}} : the results would look like this: Lexh.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 Lexh.A.
ScriberyBadge.png Scribe note
It's not yet implemented in all titles and (sub)sections.