Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Project Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>D. Cello
No edit summary
imported>D. Cello
No edit summary
Line 1: Line 1:
<div id="Template:WPinfobox" class="infobox" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<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;">
{| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px"
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{name}}}
|-
<div>[[image:{{{image}}}|{{{imageSize|200}}}px|center|{{{image}}}]]</div></div>
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #181818}}}}" | {{{image|}}}
<div style="background:black; width:100%;float:left;text-align:center;">'''Project information'''</div>
|-
<div style="clear:left;font-size:10px;text-align:center">
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #181818}}; {{{css|}}}" | {{{{{{2|name}}}}}}
<div style="width:80px;float:left;text-align:left;">Founded by</div>
{{#if:{{{hideo|}}}|{{!}}-|{{!}}-
<div style="width:170px;float:left;text-align:right;">{{{founder}}}</div>
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Project information'''}}
</div>
{{#if:{{{founder|}}}|
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
{{!}}-
<div style="width:80px;float:left;text-align:left;">Founded in</div>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Founder(s)
<div style="width:170px;float:left;text-align:right;">{{{founded}}}</div>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
</div>
{{{founder|}}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
{{!}}-
<div style="width:80px;float:left;text-align:left;">Focus</div>
|}} {{#if:{{{founded|}}}|
<div style="width:170px;float:left;text-align:right;">{{{focus}}}</div>
{{!}}-
</div>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Founded
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
<div style="width:80px;float:left;text-align:left;">Led by</div>
{{{founded|}}}
<div style="width:170px;float:left;text-align:right;">{{{ledby}}}</div>
{{!}}-
</div>
|}} {{#if:{{{focus|}}}|
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
{{!}}-
<div style="width:80px;float:left;text-align:left;">Chief Editor</div>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Focus
<div style="width:170px;float:left;text-align:right;">{{{chiefeditor}}}</div>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
</div>
{{{focus|}}}
<div style="background:black; width:100%;float:left;text-align:center;">'''Article information'''</div>
{{!}}-
<div style="clear:left;font-size:10px;text-align:center">
|}} {{#if:{{{ledby|}}}|
<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>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Led&nbsp;by
<div style="width:170px;float:left;text-align:right;">{{{currentmainfocus}}}</div>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
</div>
{{{ledby|}}}
<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>
|}} {{#if:{{{chiefeditor|}}}|
<div style="width:170px;float:left;text-align:right;">{{{fas}}}</div>
{{!}}-
</div>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Chief&nbsp;Editor
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
<div style="width:80px;float:left;text-align:left;">Good Articles</div>
{{{chiefeditor|}}}
<div style="width:170px;float:left;text-align:right;">{{{gas}}}</div>
{{!}}-
</div>
|}} {{#if:{{{hidec|}}}|{{!}}-|{{!}}-
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid white;">
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Article information'''}}
<div style="width:80px;float:left;text-align:left;">Total articles</div>
{{#if:{{{currentmainfocus|}}}|
<div style="width:170px;float:left;text-align:right;">{{{total}}}</div>
{{!}}-
</div>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Current&nbsp;main&nbsp;focus
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{currentmainfocus|}}}
{{!}}-
|}} {{#if:{{{featuredarticles|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Featured&nbsp;articles
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{featuredarticles|}}}
{{!}}-
|}} {{#if:{{{restoredfeaturedarticles|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Restored&nbsp;featured&nbsp;articles
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{restoredfeaturedarticles|}}}
{{!}}-
|}} {{#if:{{{goodarticles|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Good&nbsp;articles
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{goodarticles|}}}
{{!}}-
|}} {{#if:{{{restoredgoodarticles|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Restored&nbsp;good&nbsp;articles
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{restoredgoodarticles|}}}
{{!}}-
|}} {{#if:{{{totalarticles|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Total&nbsp;articles
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{totalarticles|}}}
{{!}}-
|}} {{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Writers and editors'''}}
{{#if:{{{participants|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Participants
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{participants|}}}
{{!}}-
|}} {{#if:{{{guests|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Guest writers
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{guests|}}}
{{!}}-
|}}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}|background: #181818}}"><span id="infoboxend"></span></div>
</div>
</div>
<noinclude>
<noinclude>
{{clear}}
[[Category:Infobox templates]]</noinclude>
===Usage instructions===
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.<br />
'''Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to black and gray; choose your colors appropriately.'''
<pre><nowiki>
{{Template:WPinfobox
|BG1= <--primary heading coloring
|BG2= <--secondary heading coloring
|image=
|name=
|founder=
|founded=
|focus=
|ledby=
|chiefeditor=
|currentmainfocus=
|featuredarticles=
|restoredfeaturedarticles=
|goodarticles=
|restoredgoodarticles=
|participants=
|guests=}}
</nowiki></pre>
 
===Display parameters===
*hideo
*hidec
 
===Source===
<nowiki>
{{subst:slh|{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}}} {{subst:sli|{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}}} {{subst:slc|{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}}} {{subst:sls|Project information|{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}|hideo}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Founded|founded}} {{subst:sld|Focus|focus}} {{subst:sld|Led&nbsp;by|ledby}} {{subst:sld|Chief&nbsp;Editor|chiefeditor}} {{subst:sls|Article information|{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}|hidec}} {{subst:sld|Current&nbsp;main&nbsp;focus|currentmainfocus}} {{subst:sld|Featured&nbsp;articles|dissolved}} {{subst:sld|Restored&nbsp;featured&nbsp;articles|restoredfeaturedarticles}} {{subst:sld|Good&nbsp;articles|goodarticles}} {{subst:sld|Restored&nbsp;good&nbsp;articles|restoredgoodarticles}} {{subst:sls|Article information|{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}|hidec}} {{subst:sld|Participants|participants}} {{subst:sld|Guest writers|guests}}{{subst:slf|{{#if:{{{BG1|}}}|{{{BG1}}}|181818}}}}
</nowiki>
 
[[Category:Templates]]
</noinclude>

Revision as of 16:29, 24 February 2010

{{{name}}}
[[image:{{{image}}}|200px|center|{{{image}}}]]
Project information
Founded by
{{{founder}}}
Founded in
{{{founded}}}
Focus
{{{focus}}}
Led by
{{{ledby}}}
Chief Editor
{{{chiefeditor}}}
Article information
Current focus
{{{currentmainfocus}}}
Featured Articles
{{{fas}}}
Good Articles
{{{gas}}}
Total articles
{{{total}}}