Misplaced Pages

Template:Navigation with image: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 10:52, 3 December 2006 view sourceDavid Kernow (talk | contribs)40,997 editsm Protected Template:Navigation with image: Navigation template, per {{Navigation}} et al ← Previous edit Revision as of 02:02, 11 December 2006 view source David Kernow (talk | contribs)40,997 editsm +code commentsNext edit →
Line 5: Line 5:
--></noinclude><includeonly> --></noinclude><includeonly>
<div class="NavFrame" style="clear:both; margin:0; padding:2px; border:1px solid #aaa; text-align:center; border-collapse:collapse; font-size:0.95em;"> <div class="NavFrame" style="clear:both; margin:0; padding:2px; border:1px solid #aaa; text-align:center; border-collapse:collapse; font-size:0.95em;">
<div class="NavHead" style="background-color:{{{color|#eee}}}; height:1.6em; font-weight:bold; font-size:1em; position:relative;">{{Tnavbar|{{{templateName|}}}{{{name|}}}|mini=1|style=position:absolute; width:auto; left:0.5em;}}'''{{{title|}}}{{{header|}}}'''</div> <div class="NavHead" style="background-color:{{{color|#eee}}}; height:1.6em; font-weight:bold; font-size:1em; position:relative;"> {{Tnavbar|{{{templateName|}}}{{{name|}}}|mini=1|style=position:absolute; width:auto; left:0.5em;}}'''{{{title|}}}{{{header|}}}'''</div>
<div class="NavContent" style="font-size:0.9em; margin:0.5em;"> <div class="NavContent" style="font-size:0.9em; margin:0.5em;">
{{#if:{{{image|}}} |<!--then:--> {{#if:{{{image|}}} |<!--then:-->
<table width="100%" style="background:transparent;"> <table width="100%" style="background:transparent;">
{{#ifeq:{{{imgpos|}}}|<!--equals:-->left |<!--then:--> {{#ifeq:{{{imgpos|}}}|<!--equals:-->left |<!--then:--><!---image to left of body---->
<tr><td style="padding-right:2em;"><!----NB Keep this and subsequent carriage-returns to maintain formatting:----> <tr><td style="padding-right:2em;"><!----NB Keep this and subsequent carriage-returns to maintain formatting:---->
] ]
Line 15: Line 15:
{{{body}}} {{{body}}}
</td></tr> </td></tr>
|<!--else:--> |<!--else:--><!----(image to right of body (default))---->
<tr><td> <tr><td>
{{{body}}} {{{body}}}
Line 22: Line 22:
</td></tr> }}<!--end #ifeq:--> </td></tr> }}<!--end #ifeq:-->
</table> </table>
|<!--else:--> |<!--else:--><!----(no image specified)---->
{{{body}}} }}<!--end #if:--> {{{body}}} }}<!--end #if:-->
{{{cat|}}}{{{category|}}} {{{cat|}}}{{{category|}}}

Revision as of 02:02, 11 December 2006

Page semi-protectedEditing of this template by new or unregistered users is currently disabled.
See the protection policy and protection log for more details. If you cannot edit this template and you wish to make a change, you can submit an edit request, discuss changes on the talk page, request unprotection, log in, or create an account.

Template:Navigation with image/doc