Template:Info/Beta

From Gospel Translations

(Difference between revisions)
Jump to:navigation, search
(New page: {{Languages| {{#titleparts:{{PAGENAME}}| {{#inCategory:{{PAGENAME}}|Category:English|| {{#ifeq:{{#regex:{{PAGENAME}}|%^.*/.*/(.{1,7})$%|2}} |2 |2 |{{#if...)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
{{Languages|
+
<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>
-
  {{#titleparts:{{PAGENAME}}|
+
<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|}}}}}</includeonly>
-
    {{#inCategory:{{PAGENAME}}|Category:English||
+
-
      {{#ifeq:{{#regex:{{PAGENAME}}|%^.*/.*/(.{1,7})$%|2}}
+
-
        |2
+
-
        |2
+
-
        |{{#ifeq:{{#regex:{{PAGENAME}}|%^.*/(.{1,7})$%|1}}
+
-
          |1
+
-
          |1
+
-
        }}
+
-
      }}
+
-
    }}
+
-
  }}
+
-
}}
+
-
{{#ib:{{{1|}}}}}
+

Current revision as of 19:02, 20 July 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