Site notice |
---|
Welcome! Please check To-Do List to see what pages need help, who is working on what, etc.
|
Difference between revisions of "Template:Aboutfile"
From Mega Man Wiki
Line 1: | Line 1: | ||
{| style="width:100%;border: solid 2px #{{{{{ | {| style="width:100%;border: solid 2px #{{{{{era|Classic}}} colors|border}}; border-radius:10px; padding:2px; background: #{{{{{era|Classic}}} colors|bg}}; color: #{{{{{era|Classic}}} colors|text}};" | ||
|- | |- | ||
! colspan="2" style="text-align:center;background: #{{{{{ | ! colspan="2" style="text-align:center;background: #{{{{{era|Classic}}} colors|tag}}; color: #{{{{{era|Classic}}} colors|text}}; padding:10px; border-radius: 0.5em;" | <big>'''License'''</big> | ||
|- | |- | ||
| colspan="2" style="text-align:center;color: #{{{{{ | | colspan="2" style="text-align:center;color: #{{{{{era|Classic}}} colors|text}};" | | ||
{{#switch: {{{license}}} | {{#switch: {{{license}}} | ||
| LGPL = {{LGPL}} | | LGPL = {{LGPL}} | ||
Line 11: | Line 11: | ||
}} | }} | ||
|- | |- | ||
! colspan="2" style="text-align:center;background: #{{{{{ | ! colspan="2" style="text-align:center;background: #{{{{{era|Classic}}} colors|tag}}; color: #{{{{{era|Classic}}} colors|text}}; padding:10px; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em;" | <big>'''Summary'''</big> | ||
|- | |- | ||
| style="background: #{{{{{ | | style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;width:25%;text-align:right;" |'''Description''' | ||
| style="color: #{{{{{ | | style="color: #{{{{{era|Classic}}} colors|text}};" |{{{description|}}} | ||
|- | |- | ||
| style="background: #{{{{{ | | style="background: #{{{{{era|Classic}}} colors|tag}};text-align:right;padding:7px;text-align:right;" |'''Use''' | ||
| style="color: #{{{{{ | | style="color: #{{{{{era|Classic}}} colors|text}};" |{{{use|}}} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{era|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Era''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} [[{{{era|}}} era]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{game|}}}| | {{#if: {{{game|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Game''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{game|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{characters|}}}| | {{#if: {{{characters|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Character(s)''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{characters|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{enemies|}}}| | {{#if: {{{enemies|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Enemy(ies)''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{enemies|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{weapons|}}}| | {{#if: {{{weapons|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Weapons''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{weapons|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{stages|}}}| | {{#if: {{{stages|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Stage(s)''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{stages|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{people|}}}| | {{#if: {{{people|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''People''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{people|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{companies|}}}| | {{#if: {{{companies|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''Companies''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{companies|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{other1|}}}| | {{#if: {{{other1|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''{{{other1_title|}}}''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{other1|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{other2|}}}| | {{#if: {{{other2|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''{{{other2_title|}}}''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{other2|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{other3|}}}| | {{#if: {{{other3|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''{{{other3_title|}}}''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{other3|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{other4|}}}| | {{#if: {{{other4|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''{{{other4_title|}}}''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{other4|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{other5|}}}| | {{#if: {{{other5|}}}| | ||
{{!}} style="background: #{{{{{ | {{!}} style="background: #{{{{{era|Classic}}} colors|tag}}; padding:7px;text-align:right;" {{!}} '''{{{other5_title|}}}''' | ||
{{!}} style="color: #{{{{{ | {{!}} style="color: #{{{{{era|Classic}}} colors|text}};" {{!}} {{{other5|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| style="width:25%;text-align:right;background: #{{{{{ | | style="width:25%;text-align:right;background: #{{{{{era|Classic}}} colors|tag}}; padding:7px; border-bottom-left-radius: 0.5em;" |'''Source''' | ||
| style="color: #{{{{{ | | style="color: #{{{{{era|Classic}}} colors|text}};" |{{#if: {{{source|}}}| {{#switch: {{{source|}}} | ||
|needed= {{source-needed}} | |needed= {{source-needed}} | ||
|#default={{{source|}}} | |#default={{{source|}}} | ||
Line 91: | Line 91: | ||
|- | |- | ||
|}<includeonly> | |}<includeonly> | ||
{{#if: {{{ | {{#if: {{{era|}}} | [[Category:{{{era}}} era images]] | }} | ||
</includeonly><noinclude>{{doc}}{{autocat2|File templates| | </includeonly><noinclude>{{doc}}{{autocat2|File templates|era templates}}</noinclude> |
Revision as of 17:21, 28 June 2020
colspan="2" style="text-align:center;background: #Template:Classic colors; color: #Template:Classic colors; padding:10px; border-radius: 0.5em;" | License | ||
---|---|---|
colspan="2" style="text-align:center;color: #Template:Classic colors;" |
| ||
colspan="2" style="text-align:center;background: #Template:Classic colors; color: #Template:Classic colors; padding:10px; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em;" | Summary | ||
style="background: #Template:Classic colors; padding:7px;width:25%;text-align:right;" |Description | style="color: #Template:Classic colors;" | | |
style="background: #Template:Classic colors;text-align:right;padding:7px;text-align:right;" |Use | style="color: #Template:Classic colors;" | | |
style="width:25%;text-align:right;background: #Template:Classic colors; padding:7px; border-bottom-left-radius: 0.5em;" |Source | style="color: #Template:Classic colors;" |Template:Source-needed |
Documentation
Template to put on file pages
Example
{{Aboutfile |license={{copyright}} |era=Classic |description=Cut Man spirit from Super Smash Bros. Ultimate |game=[[Super Smash Bros. Ultimate]] |series=[[Super Smash Bros. series]] |characters=Robot Master: [[Cut Man]] |source=Taken from [https://www.ssbwiki.com/images/2/22/Cutman.png] on April 21st, 2020. }}
Will render the following:
colspan="2" style="text-align:center;background: #Template:Classic colors; color: #Template:Classic colors; padding:10px; border-radius: 0.5em;" | License | ||
---|---|---|
colspan="2" style="text-align:center;color: #Template:Classic colors;" |
| ||
colspan="2" style="text-align:center;background: #Template:Classic colors; color: #Template:Classic colors; padding:10px; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em;" | Summary | ||
style="background: #Template:Classic colors; padding:7px;width:25%;text-align:right;" |Description | style="color: #Template:Classic colors;" |Cut Man spirit from Super Smash Bros. Ultimate | |
style="background: #Template:Classic colors;text-align:right;padding:7px;text-align:right;" |Use | style="color: #Template:Classic colors;" | | |
style="background: #Template:Classic colors; padding:7px;text-align:right;" | Era | style="color: #Template:Classic colors;" | Classic era | |
style="background: #Template:Classic colors; padding:7px;text-align:right;" | Game | style="color: #Template:Classic colors;" | Super Smash Bros. Ultimate | |
style="background: #Template:Classic colors; padding:7px;text-align:right;" | Character(s) | style="color: #Template:Classic colors;" | Robot Master: Cut Man | |
style="width:25%;text-align:right;background: #Template:Classic colors; padding:7px; border-bottom-left-radius: 0.5em;" |Source | style="color: #Template:Classic colors;" |Taken from [1] on April 21st, 2020. |