Template:MasterHeader

From Gospel Translations

(Difference between revisions)
Jump to:navigation, search
Line 29: Line 29:
<div style="border: 1px solid rgb(148, 148, 148); margin: 10px 0pt 10px 10px; padding: 3px 8px 5px; float: right; background-color: rgb(233, 242, 254); color: rgb(51, 51, 51); font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10px; line-height: 13px; width: 400px;"><center><span style="font-size: 12px; font-weight: bold;">About This Resource</span></center>This text is provided in partnership with [{{{partnerurl}}} {{{partner}}}]. {{{other}}} We're grateful for their help in making biblical resources accessible to Christians all around the world!<br><br> <div style="width: 50%; float: right;">'''Published:''' {{{date}}}<br>'''Translator:''' {{{translator}}}</div> <div>'''Author(s):''' {{{author}}}<br>'''Status:''' {{{reviewed|Not Reviewed}}}<br>'''Editor:''' {{{editor|n/a}}}</div></div>  
<div style="border: 1px solid rgb(148, 148, 148); margin: 10px 0pt 10px 10px; padding: 3px 8px 5px; float: right; background-color: rgb(233, 242, 254); color: rgb(51, 51, 51); font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10px; line-height: 13px; width: 400px;"><center><span style="font-size: 12px; font-weight: bold;">About This Resource</span></center>This text is provided in partnership with [{{{partnerurl}}} {{{partner}}}]. {{{other}}} We're grateful for their help in making biblical resources accessible to Christians all around the world!<br><br> <div style="width: 50%; float: right;">'''Published:''' {{{date}}}<br>'''Translator:''' {{{translator}}}</div> <div>'''Author(s):''' {{{author}}}<br>'''Status:''' {{{reviewed|Not Reviewed}}}<br>'''Editor:''' {{{editor|n/a}}}</div></div>  
{{#ifeq: {{{reviewed}}} | Final Version | [[Category:Final Version]]}}
{{#ifeq: {{{reviewed}}} | Final Version | [[Category:Final Version]]}}
-
[[Category:{{{categorytopic}}}]]
+
[[Category:{{{categorytopic|Missing Topic}}}]]
[[Category:{{{author}}}]]
[[Category:{{{author}}}]]
[[Category:{{{partner}}}]]
[[Category:{{{partner}}}]]
Line 36: Line 36:
{{ #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 id="tTitle">{{{newtitle}}}</h2></div>|<br><h2 id="tTitle">{{{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></includeonly>
+
</div></includeonly>  
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 15:42, 19 May 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.

{{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)
}}

That will take care of it!

Navigation
Volunteer Tools
Other Wikis
Toolbox