Template:FactionBox: Difference between revisions
From Shiptest Wiki
Jump to navigationJump to search
m (changes factionbox to be 23 em wide and images are back to being 256px) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 0 0 0.5em 0; padding: 1px; width: 23em; margin-left: 1.4em; margin-bottom: 0.5em; float: right;"> | <includeonly><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 0 0 0.5em 0; padding: 1px; max-width: 100%; width: 23em; margin-left: 1.4em; margin-bottom: 0.5em; float: right;"> | ||
<div style="background: #{{{color|cc8899}}}; border-radius: .2em; color: #FFF; padding: .4em .4em .4em; font-size: 1.2em;"><center>'''{{{name}}}'''</center></div> | <div style="background: #{{{color|cc8899}}}; border-radius: .2em; color: #FFF; padding: .4em .4em .4em; font-size: 1.2em;"><center>'''{{{name}}}'''</center></div> | ||
<div style="background: white;"> | <div style="background: white;"> | ||
Line 29: | Line 29: | ||
{{{traits|No traits.}}} | {{{traits|No traits.}}} | ||
</div></div></div> | </div></div></div> | ||
<noinclude> | </includeonly><noinclude> | ||
{{FactionBox | {{FactionBox | ||
| name = Literally 1984 | | name = Literally 1984 |
Latest revision as of 18:35, 13 July 2023
Example usage of the template:
{{FactionBox | name = Literally 1984 | image = Syndicate_Logo.png | formalname = Big Moth | othernames = M | capitaltype= Capital City | capitalloc = Your mom's house | structure = Dictatorship | denonyms = mothic | founddate = 2021 | color = cc8899 | traits = * Infamous for having sex with your mom }}