Template:Infobox website: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>LostInRiverview
mNo edit summary
m (1 revision imported)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="metainfobox blue" cellpadding="1.5"
{| style="padding:2px; margin-left:5px; margin-right: 1px; float:right; clear:right; width:260px; font-size:90%; text-align:left; border:1px solid #E0E0E0; background: #DAE8F2; box-shadow: 1px 1px 3px #777;" cellpadding="1.5"
! class="metainfobox-header large blue" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:125%; text-align:center; background: linear-gradient(to right, #2E70B7, #25A8E0); color:white; padding:3px; box-shadow: 1px 1px 3px #777; text-shadow: 1px 1px 2px #222; font-weight: bold;"{{!}}{{{name|{{PAGENAME}}}}}
{{!}}-
|-

{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-image" colspan="2" {{!}} {{{image}}}
{{!}} colspan="2" style="float:center; border:1px solid #e0e0e0; width:250px; padding:0px; text-align:center; background: #FFFFFF;" {{!}} {{{image}}}
{{!}}-
{{!}}-
}}
}}

{{!}} '''Games'''
{{!}}{{#if: {{{sims1<includeonly>|</includeonly>}}} | [[File:The Sims Logo.png|30px]]}}{{#if: {{{sims2<includeonly>|</includeonly>}}} | [[File:The Sims 2 Logo.png‎|25px]]}}{{#if: {{{sims3<includeonly>|</includeonly>}}} | [[File:The Sims 3 Logo.png|35px]]}}{{#if: {{{sims4<includeonly>|</includeonly>}}} | [[File:The Sims 4 Logo.png|35px]]}}
{{#ifeq: {{#expr: {{#if:{{{sims1|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{sims2|}}}|1|0}} or {{#if:{{{sims3|}}}|1|0}} or {{#if:{{{sims4|}}}|1|0}} }} | 1 |
{{!}} Games
{{!}}
{{#if: {{{sims1<includeonly>|</includeonly>}}} | [[File:The Sims Logo.png|30px]]}}
{{#if: {{{sims2<includeonly>|</includeonly>}}} | [[File:The Sims 2 Logo.png‎|25px]]}}
{{#if: {{{sims3<includeonly>|</includeonly>}}} | [[File:The Sims 3 Logo.png|35px]]}}
{{#if: {{{sims4<includeonly>|</includeonly>}}} | [[File:Sims-4-rebranding-logo-high-ress.png|35px]]}}
{{!}}-
{{!}}-
}}
{{#if: {{{focus<includeonly>|</includeonly>}}} |

{{!}} style="vertical-align:top-text;" {{!}} '''Focus'''
{{#if:{{{focus<includeonly>|</includeonly>}}} |
{{!}} Focus
{{!}} {{{focus}}}
{{!}} {{{focus}}}
{{!}}-
{{!}}-
}}
}}

{{!}} '''Pay site'''
{{#ifeq: {{#expr: {{#if:{{{paysite|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{nopaysite|}}}|1|0}} }} | 1 |
{{!}}
{{!}} Pay site
{{!}}
{{#if: {{{paysite<includeonly>|</includeonly>}}} | [[File:Gold_simoleon.png|15px]] {{{paysite}}}}}
{{#if: {{{paysite<includeonly>|</includeonly>}}} | [[File:Gold_simoleon.png|15px]] {{{paysite}}}}}
{{#if: {{{nopaysite<includeonly>|</includeonly>}}} | [[File:Gold_simoleon_no_forbidden.png|25px|This site is completely free.]]}}
{{#if: {{{nopaysite<includeonly>|</includeonly>}}} | [[File:Gold_simoleon_no_forbidden.png|25px|This site is completely free.]]}}
{{!}}-
{{!}}-
}}
{{#if: {{{founded<includeonly>|</includeonly>}}} |

{{!}} '''Date founded'''
{{#if:{{{founded<includeonly>|</includeonly>}}} |
{{!}} Date founded
{{!}} {{{founded}}}
{{!}} {{{founded}}}
{{!}}-
{{!}}-
}}
}}

{{#if: {{{status<includeonly>|</includeonly>}}} |
{{#if:{{{status<includeonly>|</includeonly>}}} |
{{!}} style="vertical-align: top-text;" {{!}} '''Status'''
{{!}} Status
{{!}} {{{status}}}
{{!}} {{{status}}}
{{!}}-
{{!}}-
}}
}}

{{#if: {{{closed<includeonly>|</includeonly>}}} |
{{#if:{{{closed<includeonly>|</includeonly>}}} |
{{!}} '''Date closed'''
{{!}} Date closed
{{!}} {{{closed}}}
{{!}} {{{closed}}}
{{!}}-
{{!}}-
}}
}}

{{!}}colspan="2" style="text-align:center;"{{!}}
{{#ifeq: {{#expr: {{#if:{{{donate|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{forum|}}}|1|0}} or {{#if:{{{rss|}}}|1|0}} or {{#if:{{{facebook|}}}|1|0}} or {{#if:{{{youtube|}}}|1|0}} or {{#if:{{{twitter|}}}|1|0}} or {{#if:{{{flickr|}}}|1|0}} }} | 1 |
----
{{!}} class="metainfobox-header line" colspan="2" {{!}}
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{#if: {{{donate<includeonly>|</includeonly>}}} | [[File:Icon_moodlet_charity_good_donate_donation.png{{!}}20px{{!}}link={{{donate}}}]] }}{{#if: {{{forum<includeonly>|</includeonly>}}} | [[File:Icon_speech_bubble_chat_balloon.png{{!}}20px{{!}}link={{{forum}}}]] }}{{#if: {{{rss<includeonly>|</includeonly>}}} | [[File:Rss_feed_icon.svg{{!}}20px{{!}}link={{{rss}}}]] }}{{#if: {{{facebook<includeonly>|</includeonly>}}} | [[File:Facebook_logo_icon.png{{!}}20px{{!}}link={{{facebook}}}]] }}{{#if: {{{youtube<includeonly>|</includeonly>}}} | [[File:Youtube.jpg.gif{{!}}20px{{!}}link={{{youtube}}}]] }}{{#if: {{{twitter<includeonly>|</includeonly>}}} | [[File:Twitter_icon_logo.png{{!}}20px{{!}}link={{{twitter}}}]] }}{{#if: {{{flickr<includeonly>|</includeonly>}}} | [[File:Flickr_icon_logo.png{{!}}20px{{!}}link={{{flickr}}}]] }}
{{!}}colspan="2" style="text-align:center;"{{!}}
<center>
{{#if: {{{donate<includeonly>|</includeonly>}}} | [[File:Icon_moodlet_charity_good_donate_donation.png{{!}}20px{{!}}link={{{donate}}}]] }}{{#if: {{{forum<includeonly>|</includeonly>}}} | [[File:Icon_speech_bubble_chat_balloon.png{{!}}20px{{!}}link={{{forum}}}]] }}{{#if: {{{rss<includeonly>|</includeonly>}}} | [[File:Rss_feed_icon.svg{{!}}20px{{!}}link={{{rss}}}]] }}{{#if: {{{facebook<includeonly>|</includeonly>}}} | [[File:Facebook_logo_icon.png{{!}}20px{{!}}link={{{facebook}}}]] }}{{#if: {{{youtube<includeonly>|</includeonly>}}} | [[File:Youtube.jpg.gif{{!}}20px{{!}}link={{{youtube}}}]] }}{{#if: {{{twitter<includeonly>|</includeonly>}}} | [[File:Twitter_icon_logo.png{{!}}20px{{!}}link={{{twitter}}}]] }}{{#if: {{{flickr<includeonly>|</includeonly>}}} | [[File:Flickr_icon_logo.png{{!}}20px{{!}}link={{{flickr}}}]] }}
</center>
{{!}}-
{{!}}-
}}
{{!}}colspan="2" style="text-align:center;"{{!}}

----
{{#ifeq: {{#expr: {{#if:{{{link|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{banner|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header line" colspan="2" {{!}}
{{!}}-
{{!}}-

{{!}}colspan="2" style="text-align:center;"{{!}}
{{{link}}}
{{#if:{{{link<includeonly>|</includeonly>}}} |
{{!}} colspan="2" {{!}} {{{link}}}
{{!}}-
{{!}}-
}}

{{#if:{{{banner<includeonly>|</includeonly>}}} |
{{#if:{{{banner<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{banner}}}
{{!}} colspan="2" {{!}} {{{banner}}}
{{!}}-
{{!}}-
}}
}}
}}

|}<noinclude>{{documentation}}</noinclude>
|}<noinclude>{{documentation}}</noinclude>
<includeonly>{{Checkmns|[[Category:Websites]]}}</includeonly>
<includeonly>{{Checkmns|[[Category:Websites]]}}</includeonly>

Latest revision as of 14:15, 29 June 2021

Infobox website
{{{image}}}
Games

Focus {{{focus}}}
Pay site

{{{paysite}}} This site is completely free.

Date founded {{{founded}}}
Status {{{status}}}
Date closed {{{closed}}}
link={{{donate}}}link={{{forum}}}link={{{rss}}}link={{{facebook}}}link={{{youtube}}}link={{{twitter}}}link={{{flickr}}}
{{{link}}}
{{{banner}}}
Template documentation (View · Edit · History · Purge)

Description[edit source]

Infobox template for websites. This template automatically adds articles to the 'Websites' category.

Syntax[edit source]

Copy/paste the info below and fill it out. Don't forget to use {{clrr}} in the article.
{{Infobox website
| image     = 
| sims1     = 
| sims2     = 
| sims3     = 
| sims4     = 
| focus     = 
| paysite   = 
| nopaysite = 
| founded   = 
| status    =
| closed    =
| donate    = 
| forum     = 
| rss       = 
| facebook  = 
| youtube   = 
| twitter   = 
| flickr    = 
| link      = 
| banner    = 
}}

Example[edit source]

{{Infobox website
| image     = [[File:Website_snooty_sims.jpg|250px]]
| sims1     = 
| sims2     = yes
| sims3     = yes
| sims4     = 
| focus     = News, Info
| paysite   = 
| nopaysite = yes
| founded   = April 25, 2003
| donate    = 
| forum     = http://snootysims.com/forums
| rss       = 
| facebook  = 
| youtube   = 
| twitter   = 
| flickr    = 
| link      = http://www.snootysims.com/
| banner    = [[File:Logo_snootysims_microbar_88x31.jpg]]
}}
  • Required parameters:
    • sims1, sims2, sims3, sims4:
      • One of them is required. A simple yes will do.
    • Paysite or Nopaysite:
      • Paysite: Subscription, Per item or Donation. If the site features any downloads which requires money, it's a pay site.
      • Nopaysite: Yes if everything is free.
    • Link:
  • Optional parameters:
    • Image:
      • Screenshot of the main page. Be sure to disable ad filters, but blur them or put black boxes over them before uploading to the wiki. Also blur/box out your username if it's shown. Example
    • Focus:
      • News, Info, Custom Content, Mods, Tools
      • Try limiting it to three tags. Choose the ones the site features most.
    • Founded:
      • When the site started, can often be found on 'About' pages. mm DD, YYYY format preffered, eg. April 25, 2003
    • Status:
      • States whether the site is operating, or whether it has been taken offline. This really only needs to be filled if the status is something other than 'open'.
    • Closed:
      • If a site is no longer open, the date it was closed (if known) can be listed here.
    • Donate:
      • If you can donate money voluntarily to the site, add link to the sites donation page, NOT the donation page itself (eg. Paypal) if the site has none, use a page where can you click the donate button.
    • Forum, RSS, Facebook, Youtube, Twitter, Flickr.
      • Link to their features.
    • Banner:
      • Only micro-banners 88x31 pixels here. Example
Working examples
Snooty Sims

Visit Template:Infobox website/doc to edit this text! (How does this work?) (Refresh this text - why?)