Difference between revisions of "Template:FeatureDescription"

From YTMND
Jump to: navigation, search
m (in progress feature information template)
 
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 250px;"
+
<includeonly>{|<table width="{{{width|250}}}px" cellpadding="2" cellspacing="0" border="0" rules="none" frame="box">
! colspan="1" style="text-align: left; background-color: #f3efe5" | '''<span class="plainlinks">[{{{featurelink|{{topic}}}}} {{{featurelink|{{topic}}}}}]</span>'''
+
<tr bgcolor="#ff9900"><td>
 
+
<table width="{{{width|250}}}px" align="center" border="0" cellpadding="2" cellspacing="0">
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
+
<tr bgcolor="#ff5720"><td><center><big><font color="#e6dfcb" face="cooper lt bt">'''<span class="plainlinks">[{{{featurelink|http://www.ytmnd.com/}}} {{{topic|The Front Page}}}]</span>'''</font></big></center></td></tr>
<table width="250px" cellpadding="2" cellspacing="0" border="0" rules="none" frame="box">
+
</table></td></tr><tr bgcolor="#f3efe5"><td>
|<tr bgcolor="#ff9900"><td>
+
*''{{{Label1|Label 1}}}:'' '''{{{Description1|Description 1}}}'''
|<table width="245px" align="center" border="0" cellpadding="2" cellspacing="0">
+
*''{{{Label2|Label 2}}}:'' '''{{{Description2|Description 2}}}'''
|<tr bgcolor="#ff5720"><td><center><big><font color="#e6dfcb" face="cooper lt bt">'''{{{topic|default}}}'''</font></big></center></td></tr>
+
*''{{{Label3|Label 3}}}:'' '''{{{Description3|Description 3}}}'''
|</table></td></tr><tr bgcolor="#f3efe5"><td>
+
*''{{{Label4|Label 4}}}:'' '''{{{Description4|Description 4}}}'''
|*''YTMNDs Created:'' '''72'''
+
*''{{{Label5|Label 5}}}:'' '''{{{Description5|Description 5}}}'''
|*''Views Accumulated:'' '''671,650'''
+
</td></tr></table>
|*''Votes Accumulated:'' '''17,878'''
+
|*''Average Site Rating:'' '''4.14''' &nbsp;{{star|41}}
+
|*''{{favsmall}} Collected:'' '''1,094'''
+
|</td></tr><tr bgcolor="#ff9900"><td>
+
|<table width="245px" align="center" border="0" cellpadding="2" cellspacing="0">
+
|<tr bgcolor="#ff5720"><td align="right"><small><font color="#e6dfcb">...as of September 15, 2007.</font></small></td></tr>
+
|</table></td></tr></table>
+
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
+
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
 +
This template is a work in progress.
  
 +
{{FeatureDescription|topic=YTMND Wiki
 +
|featurelink=http://wiki.ytmnd.com/
 +
}}
 +
<br><br><br>
 +
'''Example:'''
  
<includeonly>{| class="infobox" style="width: 210px;"
+
The following code
! colspan="2" style="text-align: center; background-color: #ddc7c8" | '''<span class="plainlinks">[http://www.ytmnd.com/users/{{{name|{{PAGENAME}}}}} {{{name|{{PAGENAME}}}}}]</span>'''
+
|-
+
| colspan="2" style="text-align:center;" | [[Image:{{{image|Spacer200.gif}}}|200px|pic]]
+
|-
+
| colspan="2" style="text-align:center;" | '''Join date'''<br />{{{join date|unknown}}}
+
|-
+
| colspan="2" style="text-align:center;" | '''Birthdate'''<br />{{{birth date|unknown}}}
+
|-
+
! Avg. site rating:
+
| {{{{{site average|*}}}}}
+
|-
+
! Avg. vote rate:
+
| {{{{{vote average|*}}}}}
+
|-
+
| colspan="2" style="text-align: right; font-size: xx-small;" | ...as of {{{date|unknown}}}
+
|-
+
! colspan="2" style="text-align:center;" |Notable Sites:
+
|-
+
| colspan="2" |
+
*<span class="plainlinks">[http://{{{site1|www}}}.ytmnd.com {{{Caption1|{{{site1|see Template:YTMNDer for instructions}}}}}}]</span>
+
*<span class="plainlinks">[http://{{{site2|www}}}.ytmnd.com {{{Caption2|{{{site2|see Template:YTMNDer for instructions}}}}}}]</span>
+
*<span class="plainlinks">[http://{{{site3|www}}}.ytmnd.com {{{Caption3|{{{site3|see Template:YTMNDer for instructions}}}}}}]</span>
+
*<span class="plainlinks">[http://{{{site4|www}}}.ytmnd.com {{{Caption4|{{{site4|see Template:YTMNDer for instructions}}}}}}]</span>
+
*<span class="plainlinks">[http://{{{site5|www}}}.ytmnd.com {{{Caption5|{{{site5|see Template:YTMNDer for instructions}}}}}}]</span>
+
|}</includeonly>
+
  
{{FeatureDescription|featurelink=www.ytmnd.com|topic=BLAH|
+
<code><nowiki>
 +
{{FeatureDescription
 +
|topic=YTMND Career
 +
|width=250
 +
|Label1=YTMNDs Created | Description1=72
 +
|Label2=Views Accumulated | Description2=671,650
 +
|Label3=Votes Accumulated | Description3=17,878
 +
|Label4=Average Site Rating | Description4=4.14 {{star|41}}
 +
|Label5={{favsmall}} Collected | Description5=1,094
 +
}}
 +
</nowiki></code>
 +
 
 +
will yield the following table.
 +
 
 +
 
 +
{{FeatureDescription
 +
|topic=YTMND Career
 +
|width=250
 +
|Label1=YTMNDs Created | Description1=72
 +
|Label2=Views Accumulated | Description2=671,650
 +
|Label3=Votes Accumulated | Description3=17,878
 +
|Label4=Average Site Rating | Description4=4.14 {{star|41}}
 +
|Label5={{favsmall}} Collected | Description5=1,094
 
}}
 
}}
 +
 +
 +
'''Note''' that the variables are case-sensitive. Leaving a variable out will result in a default value.
 +
 +
 +
<hr>
 +
 +
 +
<!-- the original table code ----------------------------------------------------->
 +
<table width="250px" cellpadding="2" cellspacing="0" border="0" rules="none" frame="box">
 +
<tr bgcolor="#ff9900"><td>
 +
<table width="245px" align="center" border="0" cellpadding="2" cellspacing="0">
 +
<tr bgcolor="#ff5720"><td><center><big><font color="#e6dfcb" face="cooper lt bt">'''YTMND Career'''</font></big></center></td></tr>
 +
</table></td></tr><tr bgcolor="#f3efe5"><td>
 +
*''YTMNDs Created:'' '''72'''
 +
*''Views Accumulated:'' '''671,650'''
 +
*''Votes Accumulated:'' '''17,878'''
 +
*''Average Site Rating:'' '''4.14''' &nbsp;{{star|41}}
 +
*''{{favsmall}} Collected:'' '''1,094'''
 +
</td></tr>
 +
</table>
 +
<!-- ----------------------------------------------------------------------------->
 +
</noinclude>

Latest revision as of 22:56, September 19, 2007


This template is a work in progress.

YTMND Wiki
  • Label 1: Description 1
  • Label 2: Description 2
  • Label 3: Description 3
  • Label 4: Description 4
  • Label 5: Description 5




Example:

The following code


 {{FeatureDescription
 |topic=YTMND Career
 |width=250
 |Label1=YTMNDs Created | Description1=72
 |Label2=Views Accumulated | Description2=671,650
 |Label3=Votes Accumulated | Description3=17,878
 |Label4=Average Site Rating | Description4=4.14 {{star|41}}
 |Label5={{favsmall}} Collected | Description5=1,094
 }}
 

will yield the following table.


YTMND Career
  • YTMNDs Created: 72
  • Views Accumulated: 671,650
  • Votes Accumulated: 17,878
  • Average Site Rating: 4.14 Stars red 41.gif
  • *FAV!* Collected: 1,094


Note that the variables are case-sensitive. Leaving a variable out will result in a default value.




YTMND Career
  • YTMNDs Created: 72
  • Views Accumulated: 671,650
  • Votes Accumulated: 17,878
  • Average Site Rating: 4.14  Stars red 41.gif
  • *FAV!* Collected: 1,094