|
|
Line 1: |
Line 1: |
− | <noinclude><center>''This is a template for testing new templates and experimenting with template coding. Please ignore it.''</center></noinclude>
| + | {| style="#if:{{{width|}}}|width:{{{width}}}}; border:1px solid dimgray; text-align:center; valign:center" align={{#if:{{{align|}}}|{{{align}}}|center}} |
− | {| style="width:240px; border:1px solid dimgray" align={{{align}}} | + | |colspan=10|<includeonly>{{#if:{{{heading|}}}|{{{heading}}}}}</includeonly><noinclude>'''Heading'''</noinclude> |
− | | style="border:1px solid dimgrey; text-align:center; background:black"| [[image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|200px]] | + | |
− | | + | |
| |- | | |- |
| | | | | |
− | <includeonly>{{#if:{{{page|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Page'''</TD> <TD style="width:67%"> <includeonly> | + | {|cellpadding=0 cellspacing=0<!-- |
− | {{{page}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Title'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{title}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | *Image 1* |
− | <includeonly>{{#if:{{{artist|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Artist/Circle'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{artist}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | --> |
− | <includeonly>{{#if:{{{director|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Director'''</TD> <TD style="width:67%"> <includeonly>
| + | |<includeonly>{{#if:{{{image1|}}}|<!-- |
− | {{{director}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | |
− | <includeonly>{{#if:{{{actors|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Voice Actors'''</TD> <TD style="width:67%"> <includeonly> | + | --><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:{{{image1}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|100px}}]] |
− | {{{actors}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | </td></tr><tr><td>{{#if:{{{caption1|}}}|{{{caption1}}}}}</td></tr></table>}}</includeonly><!-- |
− | <includeonly>{{#if:{{{numPages|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''# of pages'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{numpPages}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | --><noinclude><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:ExampleAvvy.png|100px]]</td></tr><tr><td>Caption</td></tr></table></noinclude><!-- |
− | <includeonly>{{#if:{{{length|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Length'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{length}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | |
− | <includeonly>{{#if:{{{characters|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Characters'''</TD> <TD style="width:67%"> <includeonly> | + | *Image 2* |
− | {{{characters}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{content|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Content'''</TD> <TD style="width:67%"> <includeonly>
| + | --> |
− | {{{content}}} </includeonly> <noinclude> | + | |<includeonly>{{#if:{{{image2|}}}|<!-- |
− | *Example
| + | |
− | *Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | --> <table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:{{{image2}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|100px}}]] |
− | <includeonly>{{#if:{{{series|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Series'''</TD> <TD style="width:67%"> <includeonly>
| + | </td></tr><tr><td>{{#if:{{{caption2|}}}|{{{caption2}}}}}</td></tr></table>}}</includeonly><!-- |
− | {{{series}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{language|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Language'''</TD> <TD style="width:67%"> <includeonly>
| + | --><noinclude><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:ExampleAvvy.png|100px]]</td></tr><tr><td>Caption</td></tr></table></noinclude><!-- |
− | {{{language}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | |
− | <includeonly>{{#if:{{{publisher|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Publisher'''</TD> <TD style="width:67%"> <includeonly> | + | |
− | {{{publisher}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | *Image 3* |
− | <includeonly>{{#if:{{{formats|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Formats'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{formats}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | --> |
− | <includeonly>{{#if:{{{systems|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Systems'''</TD> <TD style="width:67%"> <includeonly>
| + | |<includeonly>{{#if:{{{image3|}}}|<!-- |
− | {{{systems}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{year|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Year of Release'''</TD> <TD style="width:67%"> <includeonly>
| + | --> <table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:{{{image3}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|100px}}]] |
− | {{{year}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | </td></tr><tr><td>{{#if:{{{caption3|}}}|{{{caption3}}}}}</td></tr></table>}}</includeonly><!-- |
− | <includeonly>{{#if:{{{begun|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Date Begun'''</TD> <TD style="width:67%"> <includeonly> | + | |
− | {{{begun}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | --><noinclude><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:ExampleAvvy.png|100px]]</td></tr><tr><td>Caption</td></tr></table></noinclude><!-- |
− | <includeonly>{{#if:{{{ended|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Date Ended'''</TD> <TD style="width:67%"> <includeonly>
| + | |
− | {{{ended}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{status|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Status'''</TD> <TD style="width:67%"> <includeonly>
| + | *Image 4* |
− | {{{status}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | + | |
− | <includeonly>{{#if:{{{relatedWorks|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:33%; text-align:center">'''Related Works'''</TD> <TD style="width:67%"> <includeonly>
| + | --> |
− | {{{relatedWorks}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly>
| + | |<includeonly>{{#if:{{{image4|}}}|<!-- |
− | |-
| + | |
− | |style="text-align:center; font-size:75%"|[[Template:DoujinPage|veiw this template]]
| + | --> <table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:{{{image4}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|100px}}]] |
| + | </td></tr><tr><td>{{#if:{{{caption4|}}}|{{{caption4}}}}}</td></tr></table>}}</includeonly><!-- |
| + | |
| + | --><noinclude><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:ExampleAvvy.png|100px]]</td></tr><tr><td>Caption</td></tr></table></noinclude><!-- |
| + | |
| + | |
| + | *Image 5* |
| + | |
| + | --> |
| + | |<includeonly>{{#if:{{{image5|}}}|<!-- |
| + | |
| + | --> <table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:{{{image5}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|100px}}]] |
| + | </td></tr><tr><td>{{#if:{{{caption5|}}}|{{{caption5}}}}}</td></tr></table>}}</includeonly><!-- |
| + | |
| + | --><noinclude><table align=left text-align=center cellpadding=3 style="background:black; border:1px dotted gray"><tr><td>[[Image:ExampleAvvy.png|100px]]</td></tr><tr><td>Caption</td></tr></table></noinclude> |
| |} | | |} |
| + | |} |
| + | <noinclude> |
| + | ==Usage== |
| + | This is a template for including a gallery of images within an article. It can include up to 5 images, with or without captions |
| + | |
| + | *'''width''' - the width of the gallery |
| + | *'''align''' - how the gallery aligns on the page. if left blank, will default to center |
| + | *'''imagewidth''' - the width of each image. if left blank, will default to 100px |
| + | *'''heading''' - the heading for the |
| + | *'''image1''' - the first image |
| + | *'''caption1''' - the caption for the first image |
| + | *'''image2''' - the second image |
| + | *'''caption2''' - the caption for the second image |
| + | *'''image3''' - the third image |
| + | *'''caption3''' - the caption for the third image |
| + | *'''image4''' - the fourth image |
| + | *'''caption4''' - the caption for the fourth image |
| + | *'''image5''' - the fourth image |
| + | *'''caption5''' - the caption for the fourth image |
| + | |
| + | ==Code== |
| + | Copy this code into the article and fill in the appropriate fields. |
| + | <pre> |
| + | {{Gallery |
| + | |width= |
| + | |align= |
| + | |heading= |
| + | |imagewidth= |
| + | |image1= |
| + | |caption1= |
| + | |image2= |
| + | |caption2= |
| + | |image3= |
| + | |caption3= |
| + | |image4= |
| + | |caption4= |
| + | |image5= |
| + | |caption5= |
| + | }}</pre> |
| + | |
| + | [[Category:Formatting templates]] |
| + | </noinclude> |