Difference between revisions of "Template:Coin image box 1 double"
(←Blanked the page) |
imported>KnowledgeOfSelf m (Reverted edits by 67.81.39.71 (talk) to last version by 24.11.13.125) |
||
| Line 1: | Line 1: | ||
| + | <noinclude>{{esoteric}} | ||
| + | {|class="wikitable" | ||
| + | ! Parameter !! Required? !! Default !! Remark / Example | ||
| + | |- | ||
| + | |header || optional || || Row/Border disappears if missing | ||
| + | |- | ||
| + | |image || required || || <pre>Image:500JPY.JPG</pre>Do not put sqaure bracket [[ ]]. Do not put "|100px" here. | ||
| + | |- | ||
| + | |width || recommended || ||Recommended because it can prevent lengthy text to inadvertently enlarge the box. See examples below for the reason why we need 2 instances of width. Just an integer, not "100px". '''Highly recommend to use an even number.''' | ||
| + | |- | ||
| + | |caption_left || optional || ||rowspan="3"| Row/Border disappears if both missing | ||
| + | |- | ||
| + | |caption_right || optional || | ||
| + | |- | ||
| + | |footer || optional || | ||
| + | |- | ||
| + | |position || optional || (none) || left or right | ||
| + | |- | ||
| + | |margin || optional || 4(px) || Just put an integer, not "4px", not "4em" | ||
| + | |- | ||
| + | |background || optional || (none) || #CCCCFF (please don't put quotation mark) | ||
| + | |} | ||
| + | ==Piss in my mouth== | ||
| + | ===Parameters fully utilized (except background) === | ||
| + | {{Coin image box 1 double | ||
| + | | header = 500 Japanese yen | ||
| + | | image = Image:500JPY.JPG | ||
| + | | caption_left = Paulownia, state title, value | ||
| + | | caption_right = Value, bamboo, Mandarin orange, year of minting, latent image | ||
| + | | width = 200 | ||
| + | | footer = footer text here | ||
| + | | position = right | ||
| + | | margin = 0 | ||
| + | }} | ||
| + | {{lorem ipsum}} | ||
| + | {| | ||
| + | | <pre> | ||
| + | {{Coin image box 1 double | ||
| + | | header = 500 Japanese yen | ||
| + | | image = Image:500JPY.JPG | ||
| + | | caption_left = Paulownia, state title, value | ||
| + | | caption_right = Value, bamboo, Mandarin orange, year of minting, latent image | ||
| + | | width = 200 | ||
| + | | footer = footer text here | ||
| + | | position = right | ||
| + | | margin = 0 | ||
| + | }} | ||
| + | {{lorem ipsum}} | ||
| + | </pre> | ||
| + | |} | ||
| + | ===Extreme margin, no footer, background=== | ||
| + | {{Coin image box 1 double | ||
| + | | header = Extreme margin | ||
| + | | image = Image:Example.png | ||
| + | | caption_left = [[Sun Yat-sen]] | ||
| + | | caption_right = 50 圓 at the top, 50/五十 in the center | ||
| + | | width = 150 | ||
| + | | position = left | ||
| + | | margin = 20 | ||
| + | | background = #CCCCFF | ||
| + | }} | ||
| + | {{lorem ipsum}} | ||
| + | {| | ||
| + | | <pre> | ||
| + | {{Coin image box 1 double | ||
| + | | header = Extreme margin | ||
| + | | image = Image:Example.png | ||
| + | | caption_left = [[Sun Yat-sen]] | ||
| + | | caption_right = 50 圓 at the top, 50/五十 in the center | ||
| + | | width = 150 | ||
| + | | position = left | ||
| + | | margin = 20 | ||
| + | | background = #CCCCFF | ||
| + | }} | ||
| + | {{lorem ipsum}} | ||
| + | </pre> | ||
| + | |} | ||
| + | |||
| + | ==See also== | ||
| + | * {{tl|Coin image box 2 singles}} | ||
| + | * {{tl|Coin image box 8 singles}} | ||
| + | |||
| + | [[Category:Numismatics utility templates|{{PAGENAME}}]] | ||
| + | |||
| + | [[it:Template:Coin image box 1 double]] | ||
| + | </noinclude><includeonly>{| {{#if: {{{position|}}} |align="{{{position}}}"}} style="border: 1px #cccccc solid; border-collapse: collapse; background: #f9f9f9; margin: 0 {{#ifeq: {{{position|}}} | left | 1em | 0}} 0 {{#ifeq: {{{position|}}} | right | 1em | 0}}; clear:{{{position|}}};" | ||
| + | {{#if: {{{header|}}} | | ||
| + | {{!}}- | ||
| + | ! colspan="2" style="{{#if: {{{width|}}}|width:{{#expr:{{{width}}}-4+{{{margin|4}}}*2 }}px; }}padding:2px;"{{!}} {{{header}}} }} | ||
| + | |- | ||
| + | | colspan="2" style="padding:{{{margin|4}}}px; border: 1px #cccccc solid; {{#if: {{{background|}}}|background: {{{background}}};}}"| [[{{{image}}}{{#if: {{{width|}}}|{{!}}{{{width}}}px}}]] | ||
| + | |- {{#if: {{{caption_left|}}}{{{caption_right|}}} | | ||
| + | style="font-size: 85%; vertical-align: top;" | ||
| + | {{!}}style="{{#if: {{{width|}}} |width:{{#expr:{{{width}}}/2-4+{{{margin|4}}} }}px; }}padding:2px; border: 1px #cccccc solid; line-height: 1.5em;"{{!}} {{{caption_left|}}} | ||
| + | {{!}}style="{{#if: {{{width|}}} |width:{{#expr:{{{width}}}/2-4+{{{margin|4}}} }}px; }}padding:2px 1px 2px 2px; border: 1px #cccccc solid; line-height: 1.5em;"{{!}} {{{caption_right|}}} }} | ||
| + | |- | ||
| + | {{#if: {{{footer|}}} | | ||
| + | {{!}}colspan="2" style="{{#if: {{{width|}}}|width:{{#expr:{{{width}}}-4+{{{margin|4}}}*2 }}px; }}font-size: 85%; padding:2px; line-height: 1.5em;"{{!}} {{{footer|}}} }} | ||
| + | |}</includeonly> | ||
Revision as of 06:38, 4 January 2008
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
| Parameter | Required? | Default | Remark / Example |
|---|---|---|---|
| header | optional | Row/Border disappears if missing | |
| image | required | Image:500JPY.JPGDo not put sqaure bracket [[ ]]. Do not put "|100px" here. | |
| width | recommended | Recommended because it can prevent lengthy text to inadvertently enlarge the box. See examples below for the reason why we need 2 instances of width. Just an integer, not "100px". Highly recommend to use an even number. | |
| caption_left | optional | Row/Border disappears if both missing | |
| caption_right | optional | ||
| footer | optional | ||
| position | optional | (none) | left or right |
| margin | optional | 4(px) | Just put an integer, not "4px", not "4em" |
| background | optional | (none) | #CCCCFF (please don't put quotation mark) |
Contents
Piss in my mouth
Parameters fully utilized (except background)
| 500 Japanese yen | |
|---|---|
| Paulownia, state title, value | Value, bamboo, Mandarin orange, year of minting, latent image |
| footer text here | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Coin image box 1 double
| header = 500 Japanese yen
| image = Image:500JPY.JPG
| caption_left = Paulownia, state title, value
| caption_right = Value, bamboo, Mandarin orange, year of minting, latent image
| width = 200
| footer = footer text here
| position = right
| margin = 0
}}
{{lorem ipsum}}
|
| Extreme margin | |
|---|---|
| |
| Sun Yat-sen | 50 圓 at the top, 50/五十 in the center |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Coin image box 1 double
| header = Extreme margin
| image = Image:Example.png
| caption_left = [[Sun Yat-sen]]
| caption_right = 50 圓 at the top, 50/五十 in the center
| width = 150
| position = left
| margin = 20
| background = #CCCCFF
}}
{{lorem ipsum}}
|
