Changes

Jump to: navigation, search

Template:Lorebooks infobox

2,712 bytes added, 16:12, 20 February 2018
Added lorebooks infobox.
{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; border-radius:5px; background:#1e1615ff;" cellpadding="5"
! colspan="2" style="font-size:17px; text-align:center; border-radius:2px; background-color:#826c3e;color:#ffffff;" |{{Item icon|Blank Book}} {{{title|title}}}
|-
| style="width:300px;" colspan="2" align="center" | {{{locimage|[[Image:{{PAGENAME}} (lorebook).png{{pipe}}400px{{pipe}}]]}}}<br/><div class="block2" style="color:#ffffff;font-size:11px;">Hint: {{{lochint}}}</div>
|- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Category:
| <div class="block2" style="color:#ffffff;">{{{category|-}}}</div>
|- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Area:
| <div class="block2" style="color:#ffffff;">{{{area|-}}}</div>
|- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Visibility:
| <div class="block2" style="color:#ffffff;">{{{visibility|-}}}</div>
|-
|}<noinclude>
{{clear}}__NOTOC__
==Syntax==
<pre>
{{Lorebooks infobox
| title =
| locimage=
| lochint=
| category=
| area=
| visibility=
}}
</pre>

==Parameters==
; title
: Not Optional. Must be Lorebook name as given in lorebooks.json.
; locimage
: Optional. Defaults to a .png image to be used to show the in-game location. If the image already exists, use <code>[[Image:ImageName.png|300px|]]</code>
; lochint
: Not Optional. The provided hint in lorebooks.json.
; category
: Not Optional. The provided category in lorebooks.json.
; area
: Not Optional. The provided area in lorebooks.json formatted to match an in-game location.
; visibility
: Not Optional. The provided visibility in lorebooks.json formatted to be readable.

==Description==
Create an attractive "at a glance" information card for Lorebooks.

The info card features one image, an in-game screenshot of the lorebook location.

====Notes====
As with all more complex templates, remember that changes spread on all concerned articles. Please discuss it with the author before making significant changes.

==Examples==
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):
{{Lorebooks infobox
| title = The Wasted Wishes
| lochint= Found in a house in Serbule
| category= Stories
| area= [[Serbule]]
| visibility= Hidden Until Found
}}
<pre>
{{Lorebooks infobox
| title = The Wasted Wishes
| lochint= Found in a house in Serbule
| category= Stories
| area= [[Serbule]]
| visibility= Hidden Until Found
}}
</pre>
[[Category:Formatting templates|MAP infobox]]
</noinclude>

Navigation menu