|
|
| Line 1: |
Line 1: |
| <div style="width:250px; float:right; clear:right; margin:1em 0 1em 1em; border:1px solid white; background:#848482; color:white; -moz-border-radius:10px; padding:10px 10px 10px 10px;"> | | <infobox> |
| <div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{name}}} | | <title source="name"><default>{{PAGENAME}}</default></title> |
| <div>[[Image:{{{image}}}|{{{imageSize|250}}}px|center|{{{image}}}]]</div></div> | | <image source="image"/> |
| <div style="background:black; width:100%;float:left;text-align:center;">'''Project information'''</div> | | <group> |
| <div style="clear:left;font-size:10px;text-align:center"> | | <header>Project information</header> |
| <div style="width:80px;float:left;text-align:left;">Founded by</div> | | <data source="founder"><label>Founder</label></data> |
| <div style="width:170px;float:left;text-align:right;">{{{founder}}}</div> | | <data source="founded"><label>Founded</label></data> |
| </div> | | <data source="focus"><label>Focus</label></data> |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | | <data source="chiefeditor"><label>Chief Editor</label></data> |
| <div style="width:80px;float:left;text-align:left;">Founded on</div> | | </group> |
| <div style="width:170px;float:left;text-align:right;">{{{founded}}}</div>
| | <group> |
| </div> | | <header>Article information</header> |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
| | <data source="currentmainfocus"><label>Current Main Focus</label></data> |
| <div style="width:80px;float:left;text-align:left;">Focus</div> | | <data source="fas"><label>Featured Articles</label></data> |
| <div style="width:170px;float:left;text-align:right;">{{{focus}}}</div>
| | <data source="gas"><label>Good Articles</label></data> |
| </div> | | <data source="total"><label>Total Articles</label></data> |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | | </group> |
| <div style="width:80px;float:left;text-align:left;">Chief Editor</div> | | </infobox> |
| <div style="width:170px;float:left;text-align:right;">{{{chiefeditor}}}</div> | |
| </div> | |
| <div style="background:black; width:100%;float:left;text-align:center;">'''Article information'''</div> | |
| <div style="clear:left;font-size:10px;text-align:center"> | |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | |
| <div style="width:80px;float:left;text-align:left;">Current focus</div>
| |
| <div style="width:170px;float:left;text-align:right;">{{{currentmainfocus}}}</div>
| |
| </div> | |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | |
| <div style="width:80px;float:left;text-align:left;">Featured Articles</div> | |
| <div style="width:170px;float:left;text-align:right;">{{{fas}}}</div>
| |
| </div> | |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | |
| <div style="width:80px;float:left;text-align:left;">Good Articles</div> | |
| <div style="width:170px;float:left;text-align:right;">{{{gas}}}</div>
| |
| </div> | |
| <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;"> | |
| <div style="width:80px;float:left;text-align:left;">Total articles</div> | |
| <div style="width:170px;float:left;text-align:right;">{{{total}}}</div>
| |
| </div> | |
| </div> | |
| </div> | |
| <noinclude> | | <noinclude> |
| [[Category:Infobox templates]]</noinclude>
| | == Usage & preview == |
| <noinclude>
| | Type in this: |
| {{clear}}
| | |
| ===Usage instructions===
| |
| Paste the following code at the beginning of the article, filing all fields.
| |
| <pre> | | <pre> |
| {{Project infobox | | {{Project infobox/Draft |
| |image= | | |name= |
| |name= | | |image= |
| |founder= | | |founder= |
| |founded= | | |founded= |
| |focus= | | |focus= |
| |chiefeditor= | | |chiefeditor= |
| |currentmainfocus= | | |currentmainfocus= |
| |fas= | | |fas= |
| |gas= | | |gas= |
| |total= | | |total= |
| }} | | }} |
| | |
| </pre> | | </pre> |
| | |
| | to see this: |
| | |
| | {{Project infobox/Draft |
| | |name=This is a test |
| | |image=This is a test |
| | |founder=This is a test |
| | |founded=This is a test |
| | |focus=This is a test |
| | |chiefeditor=This is a test |
| | |currentmainfocus=This is a test |
| | |fas=This is a test |
| | |gas=This is a test |
| | |total=This is a test |
| | }} |
| | |
| | |
| | [{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above] |
| </noinclude> | | </noinclude> |
Usage & preview
Type in this:
{{Project infobox/Draft
|name=
|image=
|founder=
|founded=
|focus=
|chiefeditor=
|currentmainfocus=
|fas=
|gas=
|total=
}}
to see this:
Template:Project infobox/Draft
Click here to refresh the preview above