Template:Adbox1 News2: Difference between revisions

experiment: move "News clip" code to the actual template (here) so it properly displays when the current link is inactive (relocated the onlyinclude tage also)
m (fix)
(experiment: move "News clip" code to the actual template (here) so it properly displays when the current link is inactive (relocated the onlyinclude tage also))
Line 2: Line 2:
<!---------------------BACKGROUND IMAGE (DO NOT EDIT)---------------------->
<!---------------------BACKGROUND IMAGE (DO NOT EDIT)---------------------->
<div style="position:absolute; font-size:14px; top:0px; left:0px; width:465px; height:240px; background: linear-gradient(white 0%, white 50%, #E0E0E0 90%, #D0D0D0 100%); box-shadow:0px 4px 2px 0px #aaaaaa; padding:1px; color:white"></div> <!--------------------------------------------------Title_position-------------> <div style="position:absolute; font-size:28px; top:25px; left:0px; width:420px; height:25px; padding-left:10px; font-family:museo; color:#4d4d4a;"><center>'''Specialty Projects'''</center></div>  
<div style="position:absolute; font-size:14px; top:0px; left:0px; width:465px; height:240px; background: linear-gradient(white 0%, white 50%, #E0E0E0 90%, #D0D0D0 100%); box-shadow:0px 4px 2px 0px #aaaaaa; padding:1px; color:white"></div> <!--------------------------------------------------Title_position-------------> <div style="position:absolute; font-size:28px; top:25px; left:0px; width:420px; height:25px; padding-left:10px; font-family:museo; color:#4d4d4a;"><center>'''Specialty Projects'''</center></div>  
<!------------------------Current_News_Clips_links-----------------------------> <div style="position:absolute; font-size:11px; top:225px; left:12px; width:420px; height:25px; padding-left:10px; font-family:museo; color:black"><center>'''Current News clips:&nbsp;&nbsp;&nbsp;''' <font color="silver">[[Template:Adbox1 News1|1]]&nbsp;&nbsp;&nbsp;'''[[Template:Adbox1 News2|2]]&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp; 50&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp;&nbsp;7'''</font></center></div>
<!------------------------Current_News_Clips_links----------------------------->  
<onlyinclude>
<div style="position:absolute; font-size:11px; top:225px; left:12px; width:420px; height:25px; padding-left:10px; font-family:museo; color:black"><center>'''Current News clips:&nbsp;&nbsp;&nbsp;''' <font color="silver">[[Template:Adbox1 News1|1]]&nbsp;&nbsp;&nbsp;'''[[Template:Adbox1 News2|2]]&nbsp;&nbsp;&nbsp;&nbsp; [[Template:Adbox1 News3|3]]&nbsp;&nbsp;&nbsp;&nbsp;[[Template:Adbox1 News4|4]]&nbsp;&nbsp;&nbsp;&nbsp;[[Template:Adbox1 News5|5]]&nbsp;&nbsp;&nbsp;&nbsp;[[Template:Adbox1 News6|6]]&nbsp;&nbsp;&nbsp;&nbsp;[[Template:Adbox1 News7|7]]'''</font></center></div>
<!--------------BACKGROUND IMAGE (DO NOT EDIT ABOVE THIS LINE)--------------->
<!--------------BACKGROUND IMAGE (DO NOT EDIT ABOVE THIS LINE)--------------->
<br>
<br>
<br>
<br>
<br>
<br>
<onlyinclude>
 
<!--------------------------------------------------Text_position-------------> <div style="position:absolute; top:65px; left:15px; width:250px;">'''Wiki Support Project'''<br>The number of un-categorized articles on the wiki has already been reduced from 9,227 down to 481 and is still dropping. <br><br><center>Thanks for the effort!</center><font color="#3c8ff7"><center>You can help with Wiki Care too.</center></font><br> </div> <!-------------------------------------------------Image_position-------------> <div style="position:absolute; top:65px; padding-left:10px; left:270px;">[[Image:Men working on the railroad in South Dakota.jpg|170x135px|Men working on the railroad in South Dakota.jpg]]<br><center></center> </div><br>  
<!--------------------------------------------------Text_position-------------> <div style="position:absolute; top:65px; left:15px; width:250px;">'''Wiki Support Project'''<br>The number of un-categorized articles on the wiki has already been reduced from 9,227 down to 481 and is still dropping. <br><br><center>Thanks for the effort!</center><font color="#3c8ff7"><center>You can help with Wiki Care too.</center></font><br> </div> <!-------------------------------------------------Image_position-------------> <div style="position:absolute; top:65px; padding-left:10px; left:270px;">[[Image:Men working on the railroad in South Dakota.jpg|170x135px|Men working on the railroad in South Dakota.jpg]]<br><center></center> </div><br>  
<!-----------------------------end_of_text_/_image_template--------------------->  
<!-----------------------------end_of_text_/_image_template--------------------->  
3,970

edits