Difference between revisions of "Template:Infobox"
From PortlandWiki
WikiMaster (Talk | contribs) m (Fix?) |
WikiMaster (Talk | contribs) m (Fix (again)?) |
||
Line 1: | Line 1: | ||
− | {|style="border:1px solid # | + | {| style="border:1px solid #acf; background:#fff; margin:2px 0 2em 2em; padding:4px; float:right; clear:right; width:300px; font-size:.9em; color:#235; text-align:left;" cellpadding="0" cellspacing="2" |
− | | | + | ! colspan="2" style="padding-top:5px; background:#acf; font-size:large; font-weight:bold; text-align:center;" | {{PAGENAME}} |
|- | |- | ||
− | | | + | ! colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{size|290px}}}]]}} |
− | |- | + | |- style="vertical-align:top;" |
− | | {{{ | + | ! style="background:#eee; padding:2px 5px;" | address |
− | |- | + | ! style="padding:2px 5px;"| {{{address}}} |
− | | {{{ | + | |- style="vertical-align:top;" |
− | |- | + | ! style="background:#eee; padding:2px 5px;" | neighborhood |
− | | {{{ | + | ! style="padding:2px 5px;"| {{{neighborhood}}} |
− | |- | + | |- style="vertical-align:top;" |
− | | {{{ | + | ! style="background:#eee; padding:2px 5px;" | cross streets |
− | |- | + | ! style="padding:2px 5px;" | {{{cross streets}}} |
− | | {{{ | + | |- style="vertical-align:top;" |
− | |- | + | ! style="background:#eee; padding:2px 5px;" | other info |
− | | {{{ | + | ! style="padding:2px 5px;"| {{{other info}}} |
− | |- | + | |- style="vertical-align:top;" |
− | | {{{ | + | ! style="background:#eee; padding:2px 5px;" | landmark |
+ | ! style="padding:2px 5px;"| {{{landmark}}} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#eee; padding:2px 5px;" | city quadrant | ||
+ | ! style="padding:2px 5px;"| {{{city quadrant}}} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#eee; padding:2px 5px;" | notes | ||
+ | ! style="padding:2px 5px;"| {{{notes}}} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#eee; padding:2px 5px;" | website | ||
+ | ! style="padding:2px 5px;"| {{{website}}} | ||
|} | |} | ||
− | + | <noinclude><div style="width:600px;background:#efefe0;border:1px solid #ddc;padding:5px 15px 10px;margin:20px 30px 0px;"> | |
+ | == Template Notes == | ||
+ | * This template is placed at the top. | ||
+ | * It provides basic, at-a-glance facts about the subject. | ||
− | + | === Instructions === | |
− | + | Use the entire code as shown below: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | <code> |
+ | {{Infobox<br /> | ||
+ | | image = <br /> | ||
+ | | address = <br /> | ||
+ | | neighborhood = <br /> | ||
+ | | cross streets = <br /> | ||
+ | | other info = <br /> | ||
+ | | landmark = <br /> | ||
+ | | city quadrant = <br /> | ||
+ | | notes = <br /> | ||
+ | | website = <br /> | ||
+ | }} | ||
+ | </code> | ||
− | + | Leave blank any info you don't know or can't find. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
* The box shown top, right is the back-end code. | * The box shown top, right is the back-end code. | ||
* The box shown beneath it is an example of what the box looks like after you insert your info. | * The box shown beneath it is an example of what the box looks like after you insert your info. | ||
* The code just below is what you insert at the top of your wiki article. | * The code just below is what you insert at the top of your wiki article. | ||
+ | </noinclude> | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 20:31, 10 March 2011
Infobox | |
---|---|
address | {{{address}}} |
neighborhood | {{{neighborhood}}} |
cross streets | {{{cross streets}}} |
other info | {{{other info}}} |
landmark | {{{landmark}}} |
city quadrant | {{{city quadrant}}} |
notes | {{{notes}}} |
website | {{{website}}} |
Template Notes
- This template is placed at the top.
- It provides basic, at-a-glance facts about the subject.
Instructions
Use the entire code as shown below:
{{Infobox
| image =
| address =
| neighborhood =
| cross streets =
| other info =
| landmark =
| city quadrant =
| notes =
| website =
}}
Leave blank any info you don't know or can't find.
- The box shown top, right is the back-end code.
- The box shown beneath it is an example of what the box looks like after you insert your info.
- The code just below is what you insert at the top of your wiki article.