Template:Info

From Gospel Translations

(Difference between revisions)
Jump to:navigation, search
Line 1: Line 1:
<noinclude>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.<br><br><div style="font-family: Courier New; font-size: 9; margin-left: 15px; padding: 4px; border: 1px solid #ddd; background-color: #fafafa">'''On English pages, use:'''<br>
<noinclude>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.<br><br><div style="font-family: Courier New; font-size: 9; margin-left: 15px; padding: 4px; border: 1px solid #ddd; background-color: #fafafa">'''On English pages, use:'''<br>
-
<nowiki>{{Info}}</nowiki><br><br>'''On translated pages, use:'''<br><nowiki>{{</nowiki>Info|''translated article title''}}</div><br>Thanks!</noinclude><includeonly>{{Languages|{{#titleparts:{{PAGENAME}}|{{#inCategory:{{PAGENAME}}|Category:English||{{#ifeq:{{#regex:{{PAGENAME}}|%^.*/.*/(.{1,7})$%|2}}|2|2|{{#ifeq:{{#regex:{{PAGENAME}}|%^.*/(.{1,7})$%|1}}|1|1}}}}}}}}}}{{#wdInfobox_OLD:{{{1|}}}}}__NOTOC__</includeonly>
+
<nowiki>{{Info}}</nowiki><br><br>'''On translated pages, use:'''<br><nowiki>{{</nowiki>Info|''translated article title''}}</div><br>Thanks!</noinclude><includeonly>{{Languages|{{#titleparts:{{PAGENAME}}|{{#inCategory:{{PAGENAME}}|Category:English||{{#ifeq:{{#regex:{{PAGENAME}}|%^.*/.*/(.{1,7})$%|2}}|2|2|{{#ifeq:{{#regex:{{PAGENAME}}|%^.*/(.{1,7})$%|1}}|1|1}}}}}}}}}}{{#wdInfobox_OLD:{{{1|}}}}}__NOTOC__
 +
</includeonly>

Revision as of 13:34, 31 August 2009

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.

On English pages, use:
{{Info}}

On translated pages, use:
{{Info|translated article title}}

Thanks!
Navigation
Volunteer Tools
Other Wikis
Toolbox