Difference between revisions of "Template:World Area"

From Fallen Sword Wiki
Jump to: navigation, search
 
(24 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{World Areas}}
 
{{World Areas}}
 
{| cellspacing="5" cellpadding="0" width="100%"
 
{| cellspacing="5" cellpadding="0" width="100%"
| align="center" width="476" style="" | <div style="border:1px solid #acacac;background-color:#e5c173;">{{{image-mini|''This page is missing an image.''[[Category:Needs Improved]]}}}<br>{{{image|''This page is missing an image.''[[Category:Needs Improved]]}}}</div>
+
| align="center" width="476" style="" | <div style="border:1px solid #acacac;background-color:#e5c173;">{{{image-mini|[[Category:Needs Improved]]}}}<br>{{{image|[[Category:Needs Improved]]}}}</div>
 
| align="left" valign="top" |
 
| align="left" valign="top" |
==== Information ====
+
== Information ==
'''Min Level:''' {{{min-level}}}<br>
+
'''Min Level:''' {{{min-level|}}}<br>
 
'''Nearest [[Portal]]:'''
 
'''Nearest [[Portal]]:'''
* {{#ifeq: {{{portal|No}}} | No || [[{{{portal}}}]]<br>}}
+
{{#if: {{{portal|}}} |* [[{{{portal}}}]] {{#if: {{{portal-via|}}} | (via [[{{{portal-via}}}]]) |}}<br>|}}
* {{#ifeq: {{{portal-area|No}}} | No || {{#ifeq: {{{portal-coords|No}}} | No || [[{{{portal-area}}}]] {{{portal-coords}}}<br>}}}}
+
{{#if: {{{portal-area|}}} | {{#if: {{{portal-coords|}}} |[[{{{portal-area}}}]] {{{portal-coords}}} ||}}<br>}}
* {{#ifeq: {{{portal|No}}} | No || {{{portal-moves}}} moves away.<br>}}  
+
{{#if: {{{portal-moves|}}} |* {{{portal-moves}}} moves away. <br>|}}
 +
<br>
 +
'''Main Realms In This Area:'''
 +
{{#if: {{{realm|}}} |* [[{{{realm}}}]] {{#if: {{{realm-lvl|}}} | <small>'''('''Min Level: {{{realm-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-2|}}} |* [[{{{realm-2}}}]] {{#if: {{{realm-2-lvl|}}} | <small>'''('''Min Level: {{{realm-2-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-3|}}} |* [[{{{realm-3}}}]] {{#if: {{{realm-3-lvl|}}} | <small>'''('''Min Level: {{{realm-3-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-4|}}} |* [[{{{realm-4}}}]] {{#if: {{{realm-4-lvl|}}} | <small>'''('''Min Level: {{{realm-4-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-5|}}} |* [[{{{realm-5}}}]] {{#if: {{{realm-5-lvl|}}} | <small>'''('''Min Level: {{{realm-5-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-6|}}} |* [[{{{realm-6}}}]] {{#if: {{{realm-6-lvl|}}} | <small>'''('''Min Level: {{{realm-6-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-7|}}} |* [[{{{realm-7}}}]] {{#if: {{{realm-7-lvl|}}} | <small>'''('''Min Level: {{{realm-7-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-8|}}} |* [[{{{realm-8}}}]] {{#if: {{{realm-8-lvl|}}} | <small>'''('''Min Level: {{{realm-8-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-9|}}} |* [[{{{realm-9}}}]] {{#if: {{{realm-9-lvl|}}} | <small>'''('''Min Level: {{{realm-9-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-10|}}} |* [[{{{realm-10}}}]] {{#if: {{{realm-10-lvl|}}} | <small>'''('''Min Level: {{{realm-10-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-11|}}} |* [[{{{realm-11}}}]] {{#if: {{{realm-11-lvl|}}} | <small>'''('''Min Level: {{{realm-11-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-12|}}} |* [[{{{realm-12}}}]] {{#if: {{{realm-12-lvl|}}} | <small>'''('''Min Level: {{{realm-12-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-13|}}} |* [[{{{realm-13}}}]] {{#if: {{{realm-13-lvl|}}} | <small>'''('''Min Level: {{{realm-13-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-14|}}} |* [[{{{realm-14}}}]] {{#if: {{{realm-14-lvl|}}} | <small>'''('''Min Level: {{{realm-14-lvl}}}''')'''</small> |}}<br> |}}
 +
{{#if: {{{realm-15|}}} |* [[{{{realm-15}}}]] {{#if: {{{realm-15-lvl|}}} | <small>'''('''Min Level: {{{realm-15-lvl}}}''')'''</small> |}}<br> |}}
 
|}
 
|}
  
Line 24: Line 41:
 
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.</small>
 
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.</small>
 
|-
 
|-
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template.
+
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working for pages that rely on this template.
 
|}
 
|}
 
</center>
 
</center>
This template allows easy adding of World Area pages. To use, copy the following code to the world area's page and fill in the blanks. If nearest portal data is not yet known, leave the portal parameters blank.
+
<br>
 +
== <center>How To Use This Template</center> ==
 +
<br>
 +
This template allows easy adding of World Area pages. Simply copy the following code to the world area's page and fill in the blanks. If the nearest portal data is not yet known, leave the portal parameters blank and just put |portal=???. (Use the ''portal-via'' parameter only when switching to another ''connected'' world area to reach the portal.)
 +
<br><br>
 +
For each master realm, the UFSG lists the main realms and levels accessible. This information can now be added to wiki world area pages by filling in the information after realm=. This template allows up to 15 realms and levels to be added to each World Area page.<br>
 
<pre>
 
<pre>
 
{{World Area
 
{{World Area
Line 34: Line 56:
 
|min-level=
 
|min-level=
 
|portal=
 
|portal=
 +
|portal-via=
 
|portal-area=
 
|portal-area=
 
|portal-coords=
 
|portal-coords=
 
|portal-moves=
 
|portal-moves=
 +
|realm=
 +
|realm-lvl=
 +
|realm-2=
 +
|realm-2-lvl=
 
}}
 
}}
 
</pre>
 
</pre>
 
If you don't know the name of the portal, just put ???.
 
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:08, 15 October 2023

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working for pages that rely on this template.


How To Use This Template


This template allows easy adding of World Area pages. Simply copy the following code to the world area's page and fill in the blanks. If the nearest portal data is not yet known, leave the portal parameters blank and just put |portal=???. (Use the portal-via parameter only when switching to another connected world area to reach the portal.)

For each master realm, the UFSG lists the main realms and levels accessible. This information can now be added to wiki world area pages by filling in the information after realm=. This template allows up to 15 realms and levels to be added to each World Area page.

{{World Area
|image=
|image-mini=
|min-level=
|portal=
|portal-via=
|portal-area=
|portal-coords=
|portal-moves=
|realm=
|realm-lvl=
|realm-2=
|realm-2-lvl=
}}