Diferenças entre edições de "FAIRwiki:Templates"

m ("Edit Me")
m
Linha 507: Linha 507:
  
 
So,
 
So,
<nowiki>{{editme|url=FAIRWiki:Table_of_contents|before=This text is before the graphic|after='''This bold text is after the graphic'''}}</nowiki>
+
<nowiki>{{editme|url=FAIRWiki:Table_of_contents|before=This text is before the graphic|after='''This bold text is after the graphic'''}}</nowiki>
  
 
Gives the following output:
 
Gives the following output:
Linha 514: Linha 514:
  
 
Note that if you do not want text before (and/or after), you must STILL include the before= and after= arguments, but leave them blank.  So, to make a link to Table of Contents with no writing beside the icon, use:
 
Note that if you do not want text before (and/or after), you must STILL include the before= and after= arguments, but leave them blank.  So, to make a link to Table of Contents with no writing beside the icon, use:
<nowiki>{{editme|url=FAIRWiki:Table_of_contents|before=|after=}}</nowiki>
+
<nowiki>{{editme|url=FAIRWiki:Table_of_contents|before=|after=}}</nowiki>
  
 
Which gives:
 
Which gives:

Revisão das 13h41min de 5 de setembro de 2007

This page lists all templates created on the FAIR Wiki.

Índice

Reference Templates

This templates allow frequently-cited works to be included with short cuts. This allows all referenecs to be identical, include off-site links, use standard forms, etc. Changes to references can be made in one spot, instead of hundreds.

Templates
All templates master list
Books and periodicals (General)
Critical works
New style
Old style
Still works, but please use new style for new additions.
Specific periodicals speedy method
FARMS Review
FARMS Insights
Journal of Book of Mormon Studies (JBMS)
BoM geo tables
GospeLink quick links
Scripture auto-links: how to
YouTube Videos
Wikipedia

Scripture Templates

All these templates are identical in English. We encourage English writers to use the Bible template for Bible scriptures (though using the Scripture template also works for Bible verses) because non-English wikis must use separate ones. (There is no official Church non-English Bible on the LDS site, so non-LDS Bibles must refer to another site.

To learn how to use it, see: FAIRWiki:Scripture_template_how_to.

Multiple version templates

These templates allow multiple versions to be displayed in an attractive table; you must provide the citation text itself:

For a demo of its use, see: Scripture:ALWTest

Editing Templates

These templates provide short cuts for editing, replacing oft-used text, etc.

General editing templates

  • Template:An - "Annotate": Annotates a link in small text.
Format: {{an|Put any annotate text here you want.}}

Multiple version templates

Some articles have a short, summary version, and a longer, more detailed article. These templates link the two articles together. "Extra" can be left blank, by simply putting extra=}} with no text.

''Format'': {{ShortVersion|topic=TopicHere|url=http://etc.|extra=Any other text at the end of the box}}
''Format'': {{LongVersion|topic=TopicHere|url=http://etc.|extra=Any other text at the end of the box}}

Other language for wiki

''Format'': {{OtherLang}}

Serves as a sub-category label for "other" language links.

This: {{EnglishWiki|http://en.fairmormon.org}}
Gives: Predefinição:EnglishWiki

This: {{FrenchWiki|http://fr.fairmormon.org/index.php/Accueil}}
Gives:Predefinição:FrenchWiki

This: {{GermanWiki|http://www.de.fairmormon.org/index.php/Hauptseite}}
Gives:Predefinição:GermanWiki

This: {{ItalianWiki|http://www.it.fairmormon.org/index.php/}} Gives:Predefinição:ItalianWiki

This: {{PortugueseWiki|http://pt.fairmormon.org/index.php/Página_principal}}
Gives:Predefinição:PortugueseWiki

This: {{RussianWiki|http://ru.fairmormon.org}}
Gives:Predefinição:RussianWiki

This: {{SpanishWiki|http://es.fairmormon.org/index.php/Portada}}
Gives:Predefinição:SpanishWiki

Portal templates

Click here to see all Portals displayed!

Portals are a collection of hotlinks for a given topic.

Collected link/article templates

These templates contain frequently reused links (often useful for placing in the "further reading" section of all articles that deal with a topic (e.g. the Bible, the godhead) so that changes links for one are reflected in all articles.

Adam templates

Baptism for the dead templates

Bible templates

JST links

Theosis (Deification)

Book of Mormon templates

Book of Mormon footer templates

Footers in small print, to link to other subgroups of Book of Mormon material. (See General templates for examples of use).

Book of Mormon GENERAL templates

Book of Mormon archaeology

Book of Mormon authorship

Book of Mormon and KJV Bible text templates

Book of Mormon and DNA

Book of Mormon geography

Book of Mormon geo - tables of models


Book of Mormon geography models in table form:

Book of Mormon - gold and metal plates

Book of Mormon Hebraic Influences

Book of Mormon witnesses templates

Book of Mormon - Slaying Laban templates

Church history and D&C templates

Apostasy templates

D&C and Lectures on Faith

Emma Smith templates

First Vision

Legal issues templates

"Magic", Occult, etc.

1826 Glasslooking trial
Hofmann and other Forgeries

Plural marriage

Political issues in Church history templates

Priesthood templates



Prophecy templates

Evolution templates

Grace templates

Joseph Smith templates

Other visionary issues

Godhead templates

God

Jesus

Holy Ghost

Interfaith issues templates

Mountain Meadows Massacre (MMMM) templates


Pearl of Great Price templates

Priesthood templates

Hugh Nibley templates

Other subjects

Accusations of dishonesty templates

Statistics

Quote mining templates

Specific author templates

Temple templates

Freemasonry templates

Word of Wisdom templates

Footnote / Endnote templates

These templates are used to create automatic endnotes.

Photo temlates

These templates link to photos, which may have very long URL's, and thus are difficult to read and edit in a wiki page. By putting a hotlink in its own template, confusion is avoided.

Obsidian image hotlinks

Website and Hotlink Templates

Church LDS.org website

Template:lds 
links to lds.org website

Format: {{lds|topic=Marriage|url=http://etc. }}

Appears like this:

LDS.org: Challenges in Marriage Church site

"Edit Me"

Template:editme 
FAIR website link

Format: {{editme| url=PageName|before=TextBefore|after=TextAfter }}

Note:Use this at the top of templates to insert a small graphic for editors to click if they wish to edit the template list. The URL should be the page NAME that appears when one clicks "edit" the page which the link should edit.

Example of its use: Template:ArticleMasterLists (For this example page, the url is Template:ArticleMasterLists)

So,

{{editme|url=FAIRWiki:Table_of_contents|before=This text is before the graphic|after='''This bold text is after the graphic'''}}

Gives the following output:

This text is before the graphic This bold text is after the graphic

Note that if you do not want text before (and/or after), you must STILL include the before= and after= arguments, but leave them blank. So, to make a link to Table of Contents with no writing beside the icon, use:

{{editme|url=FAIRWiki:Table_of_contents|before=|after=}}

Which gives:

If you don't include the blank before=|after=, then you get this:

{{{before}}} {{{after}}}

...which is ugly. :-)

FAIR Topical Guide

Template:Tg 
links to the topical guide; puts in "FAIR Topical Guide:" text for you

Format: {{Tg|topic=Grace|url=http://etc. }}

Appears like this:

FAIR Topical Guide: Grace FAIR link

FAIR store

Template:fairstore 
links to on-line store to purchase materials

Format: {{fairstore|url=http://etc. }}

FAIR Website

Template:fairlink 
FAIR website link

Format: {{fairlink| url=http://etc. }}

GospeLink

Template:GL 
GospeLink

Format: {{GL | url=http://etc. }}

Template:GL1 
GospeLink - indicates that link is to a specific chapter, to distinguish from more generic links to the table of contents. Optional, but sometimes useful. (Compare link and link1 templates below.)

Format: {{GL1| url=http://etc. }}

Journal of Discourses

Off site HTML link

Template:link
Link to off-site webpage

Format: {{link|url=http://etc.}}

Template:link1
Link to off-site webpage; marks it as a "direct" link to the specific citation (compare GL1 and GL)

Format: {{link|url=http://etc.}}

Off site MP3 or other audio link

Template:mp3link
Link to off-site digital audio file (mp3, etc.)

Format: {{mp3link|url=http://etc.}}

Off site PDF

Template:pdflink
Link to off-site PDF file

Format: {{pdflink|url=http://etc.}}

Search for the Truth DVD

Creates link for "source of criticism" from this anti-Mormon DVD, with hotlink to the replies and resources section.

Template:SearchForTheTruthDVD

Format: {{Template:SearchForTheTruthDVD}}

wikilink

Template:wikilink
Link to other wiki article

Format: {{wikilink|url=http://etc.}}

Links can be made to the wiki by enclosing the title name in two square brackets, of course.

[[name of title here]]

The template discussed here allows a small link to the wiki, which can keep things from being too cluttered. The title of each article does NOT appear for the user.

Example:

 {{wikilink|url=Bible basics}} 

Gives a link like this: FAIRWiki link

Example of its use on a wikipage: here.

Special templates

Click

This template creates a clickable graphic image to use as a link. It is used, for instance, by the "editme" template.

Template:Click

Format: {{Click|url=PageName|width=Xpx|height=Ypx|image=Wiki.jpg|Title=NAME}}

Where

url=LOCAL pagename. This does not work for http:// style links outside the Wiki.
X=pixel width of image (to max of 100 px; can exceed size of your graphic, but not be less than it)
Y=pixel hegiht of image (as above)
image=name of graphic to use as link
title=Name of link