Difference between revisions of "Template:Site Infobox"

From YTMND
Jump to: navigation, search
(infobox page)
m (Reverted edits by Smiddle (Contribs | Talk | Block); changed back to last version by LBMixPro)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 210px; text-align: left; font-size: 95%;"
+
<includeonly>{| class="infobox" style="width: 210px; text-align: left; font-size: 95%; float: {{{alignment|right}}};"
! colspan=2 style="font-size: larger; text-align:center; background-color: rgb(157, 185, 200);" | '''{{{name|{{PAGENAME}}}}}'''
+
! colspan=2 style="text-align:center; background-color: rgb(185, 185, 185);" | '''<span class="plainlinks">[http://{{{subdomain|{{PAGENAME}}}}}.ytmnd.com {{{name|{{PAGENAME}}}}}]</span>'''
 
|-
 
|-
| colspan="2" style="text-align:center;" | {{{preview|}}}<br />
+
| colspan="2" style="text-align:center;" | [[Image:{{{image|spacer200.gif}}}|200px|Preview image]]
[http://{{{subdomain}}}.ytmnd.com {{{subdomain}}}]
+
 
|-
 
|-
 
! Creator:  
 
! Creator:  
| {{{creator}}}
+
| <span class="plainlinks">[http://ytmnd.com/users/{{{creator}}} {{{creator}}}]</span>
 
|-
 
|-
 
! Created on:  
 
! Created on:  
Line 17: Line 16:
 
| {{{imageOrigin|''(Unknown)''}}}
 
| {{{imageOrigin|''(Unknown)''}}}
 
|-
 
|-
| colspan=2 style="text-align:center;" | [http://www.ytmnd.com/sites/profile/{{{siteID|}}} Profile]
+
| colspan=2 style="text-align:center;" | <span class="plainlinks">[http://www.ytmnd.com/sites/profile/{{{siteID|}}} Profile]</span>
|}</includeonly></noinclude>
+
|}</includeonly><noinclude>
 
{{Site Infobox|name=You're the man now dog.com
 
{{Site Infobox|name=You're the man now dog.com
|preview=http://content.ytmnd.com/content/a/9/0/a904c9eb269376020c39f84340a45743.jpg
+
|image=yourethemannowdog.jpg
 
|subdomain=yourethemannowdog
 
|subdomain=yourethemannowdog
|creator=[[Max Goldberg|Max]]
+
|creator=Max
 
|creationDate=July 6, 2001
 
|creationDate=July 6, 2001
 
|soundOrigin=Finding Forrester trailer
 
|soundOrigin=Finding Forrester trailer
Line 33: Line 32:
 
==Code==
 
==Code==
 
<pre><nowiki>
 
<pre><nowiki>
{{Site Infobox|name=You're the man now dog.com
+
{{Site Infobox|name=
|preview=http://content.ytmnd.com/content/a/9/0/a904c9eb269376020c39f84340a45743.jpg
+
|image=
|subdomain=yourethemannowdog
+
|subdomain=
|creator=[[Max Goldberg|Max]]
+
|creator=
|creationDate=July 6, 2001
+
|creationDate=
|soundOrigin=Finding Forrester trailer
+
|soundOrigin=
|imageOrigin=Google Images
+
|imageOrigin=
|siteID=1
+
|siteID=
 +
|alignment=
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
==Fields==
 
==Fields==
 
*'''name''' = Title of the YTMND (On the titlebar)
 
*'''name''' = Title of the YTMND (On the titlebar)
*'''preview''' = Preview image found on the profile
+
*'''image'' = The filename of the uploaded image, without any parameters or the "Image:" prefix
 
*'''subdomain''' = the first part of the YTMND's domain ('''site'''.ytmnd.com)
 
*'''subdomain''' = the first part of the YTMND's domain ('''site'''.ytmnd.com)
 
*'''creator''' = username of the YTMND's creator, If they have an article here, wikilink their username to their article
 
*'''creator''' = username of the YTMND's creator, If they have an article here, wikilink their username to their article
Line 52: Line 52:
 
*'''imageOrigin''' = Image origin
 
*'''imageOrigin''' = Image origin
 
*'''siteID''' = Site's ID number, found at the end of the profile URL (www.ytmnd.com/sites/profile/'''1234'''
 
*'''siteID''' = Site's ID number, found at the end of the profile URL (www.ytmnd.com/sites/profile/'''1234'''
 +
*'''alignment''' = the positioning of the infobox&mdash;left or right (default is right).
  
 
==Example==
 
==Example==
Line 66: Line 67:
 
|siteID=1
 
|siteID=1
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
 +
[[Category:Infoboxes|Site Infobox]]
 +
</noinclude>

Latest revision as of 06:09, October 10, 2006

You're the man now dog.com
Preview image
Creator: Max
Created on: July 6, 2001
Sound origin: Finding Forrester trailer
Image origin: Google Images
Profile

Purpose

Infobox for Individual YTMND sites which don't have a Fad infobox on them.

Code

{{Site Infobox|name=
|image=
|subdomain=
|creator=
|creationDate=
|soundOrigin=
|imageOrigin=
|siteID=
|alignment=
}}

Fields

  • name = Title of the YTMND (On the titlebar)
  • 'image = The filename of the uploaded image, without any parameters or the "Image:" prefix
  • subdomain = the first part of the YTMND's domain (site.ytmnd.com)
  • creator = username of the YTMND's creator, If they have an article here, wikilink their username to their article
  • creationDate = Date the YTMND was made
  • soundOrigin = Sound origin
  • imageOrigin = Image origin
  • siteID = Site's ID number, found at the end of the profile URL (www.ytmnd.com/sites/profile/1234
  • alignment = the positioning of the infobox—left or right (default is right).

Example

This code generates what you see

{{Site Infobox|name=You're the man now dog.com
|preview=http://content.ytmnd.com/content/a/9/0/a904c9eb269376020c39f84340a45743.jpg
|subdomain=yourethemannowdog
|creator=[[Max Goldberg|Max]]
|creationDate=July 6, 2001
|soundOrigin=Finding Forrester trailer
|imageOrigin=Google Images
|siteID=1
}}