Template:MasterHeader

From Gospel Translations

(Difference between revisions)
Jump to:navigation, search
Line 36: Line 36:
[[Category:{{{mediatype}}}]]
[[Category:{{{mediatype}}}]]
{{ #ifeq: {{{lang}}} | English | |{{ #ifeq: {{{reviewed}}} | Final Version |  | {{ #ifeq: {{{reviewed}}} | Peer Reviewed | {{PeerReviewed}} | {{NeedsReview}}}}}}}}
{{ #ifeq: {{{lang}}} | English | |{{ #ifeq: {{{reviewed}}} | Final Version |  | {{ #ifeq: {{{reviewed}}} | Peer Reviewed | {{PeerReviewed}} | {{NeedsReview}}}}}}}}
-
{{ #ifeq: {{{newtitle|empty}}} | empty |  | {{#ifeq: {{{lang}}} | Arabic | <div style="direction:rtl;"><br><h2>{{{newtitle}}}</h2></div>|<br><h2>{{{newtitle}}}</h2>}} }}
+
{{ #ifeq: {{{newtitle|empty}}} | empty |  | {{#ifeq: {{{lang}}} | Arabic | <div style="direction:rtl;"><br><h2 id="tTitle">{{{newtitle}}}</h2></div>|<br><h2 id="tTitle">{{{newtitle}}}</h2>}} }}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 20:11, 25 April 2008

This is a template that combines the Language Bar, Resource Info Box, and general categorization all into one package. To use it, you'll just include the code below at the top of your page. Please note that this is the version you would include on English pages. In order to view other language versions, you'll need to click on the language bar above.

<noinclude>
{{MasterHeader
|author= (enter the name/s of the author/s)
|partnerurl= (the website address for the publisher or copyright holder)
|partner= (the name of the publisher or copyright holder)
|date= (in the format "1 January 2000"
|other= (if there is special info about the resource, enter it here)
|categorytopic= (the main topic of this article)
|mediatype= (book-for the table of contents, chapter-for parts of a book, article, or sermon)
|lang= (English, Spanish, etc.)
|editor= (n/a if there isn't one)
|translator= (translators name or user id)
|levels= (the number of forward slashes (/'s) in the page title (the part of the URL ''after'' 
gospeltranslations.org/wiki/)
|reviewed=Not Reviewed
|newtitle=(the translated title of the article--you put it here, not in the article itself)
}}
</noinclude>

That will take care of it!

Navigation
Volunteer Tools
Other Wikis
Toolbox