Difference between revisions of "Template:Asset Infobox"

From YTMND
Jump to: navigation, search
m (Code: Major spell correction that could have changed the world.....But not really...)
 
(3 intermediate revisions by one user not shown)
Line 2: Line 2:
 
! colspan=2 style="text-align:center; background-color: rgb(171, 209, 167);" | '''<span class="plainlinks">[http://www.ytmnd.com/assets/{{{assetProfile}}} {{{name|{{PAGENAME}}}}}]</span>'''
 
! colspan=2 style="text-align:center; background-color: rgb(171, 209, 167);" | '''<span class="plainlinks">[http://www.ytmnd.com/assets/{{{assetProfile}}} {{{name|{{PAGENAME}}}}}]</span>'''
 
|-
 
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image|spacer200.gif}}}|200px|Preview image]]
+
| colspan="2" style="text-align:center;" | {{if|{{{image|}}}
 +
|[[Image:{{{image}}}|200px|Preview image]]
 +
|
 +
}}{{if|{{{sound|}}}
 +
|<center>[[:Media:{{{sound}}}.ogg|Preview]]</center>
 +
|
 +
}}
 
|-
 
|-
 
! Usage/[[fad]]:  
 
! Usage/[[fad]]:  
Line 11: Line 17:
 
|-  
 
|-  
 
! Origin:
 
! Origin:
| <span class="plainlinks">[http://ytmnd.com/search?q={{{webSafeOrigin|{{{origin}}}}}}&o=%7C48%7Call%7C1160500084%7C0%7C {{{origin|''Unknown.''}}}]</span>
+
| <span class="plainlinks">[http://ytmnd.com/search?q={{urlencode:{{{origin}}}}}&o=%7C48%7Call%7C1160500084%7C0%7C {{{origin|''Unknown.''}}}]</span>
 
|-
 
|-
 
! More info:
 
! More info:
Line 28: Line 34:
 
| assetProfile  =  
 
| assetProfile  =  
 
| image        =  
 
| image        =  
 +
| sound        =
 
| usage        =  
 
| usage        =  
 
| creator      =  
 
| creator      =  
Line 34: Line 41:
 
| fullURL      =  
 
| fullURL      =  
 
| type          =  
 
| type          =  
| webSafeOrigin =
 
 
| align        =  
 
| align        =  
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 41: Line 47:
 
*Image: Image, optional.
 
*Image: Image, optional.
 
*Usage: Usage or fad for the asset.
 
*Usage: Usage or fad for the asset.
*Creator: User whjo first used the asset in a YTMND.
+
*Creator: User who first used the asset in a YTMND.
*Origin: Song/movie/etc. where the asset originally came from
+
*Origin: Song/movie/etc. where the asset originally came from. Spaces are now allowed.
 
*Facts: Other info about the asset.
 
*Facts: Other info about the asset.
 
*Full URL: The full URL path to download.
 
*Full URL: The full URL path to download.
 +
 
==Example==
 
==Example==
<nowiki>{{asset infobox
+
<pre><nowiki>{{asset infobox
 
| name          = Sean Connery
 
| name          = Sean Connery
 
| assetProfile  = 595778743503fc18748d5bb6d0252efb
 
| assetProfile  = 595778743503fc18748d5bb6d0252efb
Line 56: Line 63:
 
| fullURL      = http://content.ytmnd.com/content/5/9/5/595778743503fc18748d5bb6d0252efb.jpg
 
| fullURL      = http://content.ytmnd.com/content/5/9/5/595778743503fc18748d5bb6d0252efb.jpg
 
| type          = JPG
 
| type          = JPG
| webSafeOrigin = Cannes+Film+Festival
+
}}</nowiki></pre> would generate:
}}</nowiki> would generate:
+
 
{{asset infobox
 
{{asset infobox
 
| name          = Sean Connery
 
| name          = Sean Connery
Line 68: Line 74:
 
| fullURL      = http://content.ytmnd.com/content/5/9/5/595778743503fc18748d5bb6d0252efb.jpg
 
| fullURL      = http://content.ytmnd.com/content/5/9/5/595778743503fc18748d5bb6d0252efb.jpg
 
| type          = JPG
 
| type          = JPG
| webSafeOrigin = Cannes+Film+Festival
 
 
}}[[Category:Infoboxes|Asset]]</noinclude>
 
}}[[Category:Infoboxes|Asset]]</noinclude>

Latest revision as of 11:18, September 20, 2007

Code

{{asset infobox
| name          = 
| assetProfile  = 
| image         = 
| sound         =
| usage         = 
| creator       = 
| origin        = 
| facts         = 
| fullURL       = 
| type          = 
| align         = 
}}
  • Name: The name of the asset.
  • Asset Profile: The asset profile number.
  • Image: Image, optional.
  • Usage: Usage or fad for the asset.
  • Creator: User who first used the asset in a YTMND.
  • Origin: Song/movie/etc. where the asset originally came from. Spaces are now allowed.
  • Facts: Other info about the asset.
  • Full URL: The full URL path to download.

Example

{{asset infobox
| name          = Sean Connery
| assetProfile  = 595778743503fc18748d5bb6d0252efb
| image         = Example.jpg
| usage         = "[[yourethemannowdog.com|You're the man now dog]]" fad
| creator       = Max
| origin        = Cannes Film Festival
| facts         = Is the most reused image, with more than 200 clones.
| fullURL       = http://content.ytmnd.com/content/5/9/5/595778743503fc18748d5bb6d0252efb.jpg
| type          = JPG
}}
would generate:
Sean Connery
Preview image


Usage/fad: "You're the man now dog" fad
Found/created by: Max
Origin: Cannes Film Festival
More info: Is the most reused image, with more than 200 clones.
Type: JPG
Download: Download