Difference between revisions of "Help:Style"

From XFamily - Children of God
m (Bible Online)
m (Templates)
Line 11: Line 11:
 
The following is a list of templates:
 
The following is a list of templates:
  
*[[Template:Construction]] - <nowiki>{{Construction}}</nowiki>
+
*[[Template:Construction]] - <nowiki>{{Construction}}</nowiki> - For use in articles which do not need outside content contributions.
*[[Template:Stub]] - <nowiki>{{Stub}}</nowiki>
+
*[[Template:Stub]] - <nowiki>{{Stub}}</nowiki> - For use in incomplete articles for which we are accepting outside content contributions.
*[[Template:Disclaimer-family]] - <nowiki>{{Disclaimer-family}}</nowiki>
+
*[[Template:Disclaimer-family]] - <nowiki>{{Disclaimer-family}}</nowiki> - For use in articles from The Family which may contain offensive content.
*[[Template:Disclaimer-article]] - <nowiki>{{Disclaimer-article}}</nowiki>
+
*[[Template:Disclaimer-article]] - <nowiki>{{Disclaimer-article}}</nowiki> - For use in articles reproduced herein "as is".
*[[Template:Privacy-edited]] - <nowiki>{{Privacy-edited}}</nowiki>
+
*[[Template:Privacy-edited]] - <nowiki>{{Privacy-edited}}</nowiki> - For use in articles where a name has been removed.
 +
*[[Template:Public-Domain]]  - <nowiki>{{Public-Domain}}</nowiki> - For use in editor's personal profiles should they wish to multi-liscense their contributions.
  
 
==Code Snippets==
 
==Code Snippets==

Revision as of 19:02, 10 June 2005

Introduction to Style Guide

Disclaimer

Pages displaying content from The Family should use a disclaimer. Please see the template section below for the approptiate template to use.

Templates

Templates exist Under "Templates:Foo". They are invoked in articles using the following syntax: {{foo}} which then displays the content of the template in the article at the position of the tag.

The following is a list of templates:

  • Template:Construction - {{Construction}} - For use in articles which do not need outside content contributions.
  • Template:Stub - {{Stub}} - For use in incomplete articles for which we are accepting outside content contributions.
  • Template:Disclaimer-family - {{Disclaimer-family}} - For use in articles from The Family which may contain offensive content.
  • Template:Disclaimer-article - {{Disclaimer-article}} - For use in articles reproduced herein "as is".
  • Template:Privacy-edited - {{Privacy-edited}} - For use in articles where a name has been removed.
  • Template:Public-Domain - {{Public-Domain}} - For use in editor's personal profiles should they wish to multi-liscense their contributions.

Code Snippets

Tools

Bible Online

When linking to Bible verses use the following script. It will be updated to use a functional online reference resource should the current resource cease to function. Using this script allows us to easily update all Bible references in such a scenario.

The script is located at: http://www.xfamily.org/xscripts/bible/

You should add GET variables to the URL to redirect to a particular passage. See the example below.

http://www.xfamily.org/xscripts/bible/?book=Matthew&chapter=9&verse=17

Ranges are allowed. Please see the example below:

http://www.xfamily.org/xscripts/bible/?book=Matthew&chapter=9&verse=17-20

When a space exists in one of the variables you should use "%20" (no quotation marks) to represent the space. This is necessary with books like I John. Please see the example below:

http://www.xfamily.org/xscripts/bible/?book=I%20John&chapter=1&verse=1