Contribute/Style Guide: Difference between revisions

beginning of style page
 
No edit summary
 
Line 7: Line 7:
==== Text Formatting ====
==== Text Formatting ====
* Use '''Lastname, Firstname''' for authors.
* Use '''Lastname, Firstname''' for authors.
* Italicize titles of books, journals, or long works using two single quotes:
* Italicize titles of books, journals, or long works using two single quotes:
  <code>''Placing Outer Space''</code> → *Placing Outer Space*
<pre><nowiki>''Placing Outer Space''</nowiki></pre>
 
This will display as: ''Placing Outer Space''
 
* Use en dashes (–) for page ranges:   
* Use en dashes (–) for page ranges:   
   Example: 101–115   
   Example: 101–115   
* Use square brackets for external links:
* Use square brackets for external links:
   <code>[https://example.com]</code>
   <pre><nowiki>[https://example.com]</nowiki></pre>
This will display as: <code>[https://example.com]</code>


==== Categories ====
==== Categories ====
Line 19: Line 23:
Format: <code><nowiki>[[Category:ThemeName]]</nowiki></code>
Format: <code><nowiki>[[Category:ThemeName]]</nowiki></code>


* Use existing category names where possible. You may suggest new ones on the Talk page.
* Use existing category names where possible.


==== Page Titles ====
==== Page Titles ====
Line 31: Line 35:


==== BibTeX (for unique reference entries only) ====
==== BibTeX (for unique reference entries only) ====
To support exporting citations, you can include a BibTeX block in a <pre> tag:
To support exporting citations, you can include a BibTeX block in a <nowiki><pre></nowiki> tag:


<pre>
<pre>