Template:Lexh: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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===
Line 6: Line 6:
*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''' 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}}
*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]].
*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>{{org|A}}</nowiki>''' and the results would look like {{org|A}}


{{ScribeNote|note=It's not '''yet''' implemented in all titles and (sub)sections.}}
{{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>

Revision as of 04:58, 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:Org. To use it, simple add the following code to the page: {{org|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 {{org|A}} and the results would look like Org.A.
ScriberyBadge.png Scribe note
It's not yet implemented in all titles and (sub)sections.