NovaRoma:Advanced Wiki Editing for Romans

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(to create non-automatic section numbering/lettering.: forced numbering)
(subst instructions)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Advanced topics will be added here shortly.
+
==Leges, Edicta et cetera==
  
 +
Leges, edicta and similar documents need special treatment.
  
==Formatting Leges==
 
  
Leges, edicta and similar documents need special treatment.  
+
===Using "LexSubst" to create an article===
 +
 
 +
"LexSubst" is a template that is used to create an empty Lex article.
 +
 
 +
#Open a new article for editing with the [[NRWiki:Article_Names|name]] you want the final article to have.
 +
#Type '''<nowiki>{{subst:LexSubst}}</nowiki>''' in the edit window.
 +
#SAVE the article. The Wiki software will fill in the article using the template.
 +
#Open the article for editing. The basic structure of the article will be in place.
 +
#Edit to provide the correct information.
 +
#Save the article.
  
===Special class "scriptum" marks special text.===
+
===Special class "scriptum" marks legal text.===
  
 
The actual text of leges (and edicta) should not be subject to edits. This text is marked in this Wiki by containing it in a "division" that gives it a special color and border. The division uses a class called "scriptum". Here is an example:
 
The actual text of leges (and edicta) should not be subject to edits. This text is marked in this Wiki by containing it in a "division" that gives it a special color and border. The division uses a class called "scriptum". Here is an example:
Line 16: Line 25:
 
<div class="scriptum">
 
<div class="scriptum">
 
Text that we want to mark as unchangable.
 
Text that we want to mark as unchangable.
 +
</div>
 +
 +
 +
===Special class "lexcomment" marks commentary.===
 +
 +
Comments should be placed after the main text using the "lexcomment" class applied to a division.
 +
 +
<nowiki><div class="lexcomment"> </nowiki>
 +
optional commentary...
 +
<nowiki></div> </nowiki>
 +
 +
<div class="lexcomment">
 +
optional commentary...
 
</div>
 
</div>
  
Line 26: Line 48:
  
  
====to indent text.====
+
====...to indent text.====
  
 
Use a colon at the beginning of a line to indent a line or paragraph.
 
Use a colon at the beginning of a line to indent a line or paragraph.
Line 39: Line 61:
  
  
====to create non-automatic section numbering/lettering.====
+
====...to create non-automatic section numbering/lettering.====
  
 
Arbitrary section numbering or lettering can be done by using the colon indent. Note, however, that the number or letter will ''not'' have a "hanging indent"; it will be flush with the left text margin. '''Bolding''' (surround with sets of three single quote marks) might be used to set off the symbol.
 
Arbitrary section numbering or lettering can be done by using the colon indent. Note, however, that the number or letter will ''not'' have a "hanging indent"; it will be flush with the left text margin. '''Bolding''' (surround with sets of three single quote marks) might be used to set off the symbol.
Line 45: Line 67:
 
:'''A.''' When using colon-indenting to create custom, non-automatic lettering or numbering of sections, the letter or number will be flush left with the text, not hanging out past the left margin. Just as this example is intended to show.
 
:'''A.''' When using colon-indenting to create custom, non-automatic lettering or numbering of sections, the letter or number will be flush left with the text, not hanging out past the left margin. Just as this example is intended to show.
  
====with bullet and number lists.====
+
 
 +
====...with bullet and number lists.====
  
 
Normally, automatic lists indent themselves, as in this example:
 
Normally, automatic lists indent themselves, as in this example:
Line 96: Line 119:
 
:#The first subsection
 
:#The first subsection
 
:#The second subsection
 
:#The second subsection
 +
 +
 +
===Special Templates===
 +
 +
====Status templates====
 +
 +
These templates indicate the current status of the legal document:
 +
 +
*<nowiki>{{</nowiki>[[Template:LexStatusActive|LexStatusActive]]<nowiki>}}</nowiki>
 +
*<nowiki>{{</nowiki>[[Template:LexStatusInactive|LexStatusInactive]]<nowiki>}}</nowiki>
 +
*<nowiki>{{</nowiki> <nowiki>}}</nowiki>
 +
 +
====Lex info template====

Latest revision as of 21:03, 10 July 2006

Contents

Leges, Edicta et cetera

Leges, edicta and similar documents need special treatment.


Using "LexSubst" to create an article

"LexSubst" is a template that is used to create an empty Lex article.

  1. Open a new article for editing with the name you want the final article to have.
  2. Type {{subst:LexSubst}} in the edit window.
  3. SAVE the article. The Wiki software will fill in the article using the template.
  4. Open the article for editing. The basic structure of the article will be in place.
  5. Edit to provide the correct information.
  6. Save the article.

Special class "scriptum" marks legal text.

The actual text of leges (and edicta) should not be subject to edits. This text is marked in this Wiki by containing it in a "division" that gives it a special color and border. The division uses a class called "scriptum". Here is an example:

<div class="scriptum">
Text that we want to mark as unchangable.
</div>

Text that we want to mark as unchangable.


Special class "lexcomment" marks commentary.

Comments should be placed after the main text using the "lexcomment" class applied to a division.

<div class="lexcomment"> 
optional commentary...
</div> 

optional commentary...


Using the colon indent...

A colon placed as the first character on a new line will indent everything until the next line break.

Do not use colons in an arbitrary manner! Colons are not a page decoration tool. A two-colon-indent element should be contained only in a one-colon-indent element and should contain only three-colon-indent elements. Resist the temptation to use arbitrary numbers of colons to make an article "look good". It will only "look good" on your computer. Other users with other systems/browsers/display sizes will see the page differently and it will not look good to them.


...to indent text.

Use a colon at the beginning of a line to indent a line or paragraph.

A normal line of text.
:A line of text with a colon in the first position.
::Use additional colons to create deeper nests of indents.

A normal line of text.

A line of text with a colon in the first position.
Use additional colons to create deeper nests of indents.


...to create non-automatic section numbering/lettering.

Arbitrary section numbering or lettering can be done by using the colon indent. Note, however, that the number or letter will not have a "hanging indent"; it will be flush with the left text margin. Bolding (surround with sets of three single quote marks) might be used to set off the symbol.

A. When using colon-indenting to create custom, non-automatic lettering or numbering of sections, the letter or number will be flush left with the text, not hanging out past the left margin. Just as this example is intended to show.


...with bullet and number lists.

Normally, automatic lists indent themselves, as in this example:

#A section 
#A section with two subsections 
##The first subsection 
##The second subsection 
  1. A section
  2. A section with two subsections
    1. The first subsection
    2. The second subsection


But using lettered sections with numbered subsections creates a problem. Either we get no subsection indenting:

:A. The first section 
:B. The second section has two numbered subsections: 
#The first subsection 
#The second subsection 
A. The first section
B. The second section has two numbered subsections:
  1. The first subsection
  2. The second subsection

Or we get a superfluous digit:

:A. The first section 
:B. The second section has two numbered subsections: 
##The first subsection 
##The second subsection 
A. The first section
B. The second section has two numbered subsections:
    1. The first subsection
    2. The second subsection


The solution is to use colon indents with the automatic lists (either number or bullet):

:A. The first section 
:B. The second section has two numbered subsections: 
:#The first subsection 
:#The second subsection 
A. The first section
B. The second section has two numbered subsections:
  1. The first subsection
  2. The second subsection


Special Templates

Status templates

These templates indicate the current status of the legal document:

Lex info template

Personal tools