Jump to content

Template:Project: Difference between revisions

From base48
imported>B42
No edit summary
B42 (talk | contribs)
drop SMW shit
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
{{:Skeleton}}
</noinclude>
<includeonly>
<includeonly>
<!-- <div style="clear: right;"></div> -->
<!-- <div style="clear: right;"></div> -->
Line 5: Line 8:
   <div style="margin-top: 0.3em; margin-bottom: 0.3em; width: 290px; font-weight: bolder; font-size: 1.4em; text-align: center;  color: #333;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
   <div style="margin-top: 0.3em; margin-bottom: 0.3em; width: 290px; font-weight: bolder; font-size: 1.4em; text-align: center;  color: #333;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
   <!-- Project logo -->
   <!-- Project logo -->
   <div style="width: 290px; text-align: center; margin: 5px;">{{{image}}}</div>
   <div style="width: 290px; text-align: center; margin: 5px;">[[File:{{#if: {{{image|}}}|{{{image}}}|Base-small.png}}|frameless|290px]]</div>
   <!-- Project Details -->
   <!-- Project Details -->
   <div style="border: 1px solid #CCC; margin: 5px; padding: 0.5em; background-color: #FFF;">
   <div style="border: 1px solid #CCC; margin: 5px; padding: 0.5em; background-color: #FFF;">
     {{ProjectInfoBoxItem|Founder|{{#replace:{{{founder}}}|#||<br/>}}|base48-wiki-users}} <!--
     {{ProjectInfoBoxItem|Founder|{{#replace:{{{founder}}}|#||<br/>}}|base48-wiki-users}} <!--
--> {{ProjectInfoBoxItem|Coops|{{#replace:{{{coops|}}}|#|,}}|base48-wiki-users}} <!--
--> {{ProjectInfoBoxItem|Coops|{{#replace:{{{coops|}}}|#|, &#x200b;}}|base48-wiki-users}} <!-- uglyhack: MW parser ignores the trailing spaces of replacement, &#x200b; is 'zero-width' space
--> {{ProjectInfoBoxItem|Latest Version|{{{curr_version|}}}}} <!--
--> {{ProjectInfoBoxItem|Latest Version|{{{curr_version|}}}}} <!--
--> {{ProjectInfoBoxItem|Operating<br/>System(s)|{{{os|}}}}} <!--
--> {{ProjectInfoBoxItem|Operating<br/>System(s)|{{{os|}}}}} <!--
Line 17: Line 20:
--> {{ProjectInfoBoxItem|HW License|{{{hwlic|}}}}} <!--
--> {{ProjectInfoBoxItem|HW License|{{{hwlic|}}}}} <!--
--> {{ProjectInfoBoxItem|github|{{#if:{{{github|}}}|[https://github.com/{{{github}}} github repository]|{{{github|}}}}}}} <!--
--> {{ProjectInfoBoxItem|github|{{#if:{{{github|}}}|[https://github.com/{{{github}}} github repository]|{{{github|}}}}}}} <!--
--> {{ProjectInfoBoxItem|Status|{{{status}}}}} <!--
--> {{ProjectInfoBoxItem|Homepage|{{{homepage|}}}}} <!--
--> {{ProjectInfoBoxItem|Created|{{{created}}}}} <!--
--> {{ProjectInfoBoxItem|Status|{{{status}}}}}
--> {{ProjectInfoBoxItem|Last Modified|{{ProjectInfoBoxItemModifiedDate|{{{wikiPageName|}}}|{{{name}}}}}|1}}
     <div style="clear: right; margin-top: 4px;"></div>
     <div style="clear: right; margin-top: 4px;"></div>
   </div>
   </div>
</div>
</div>
    [[Category:Projects]] <!--
{{#ifeq: {{{status|}}}
--> {{ProjectCategoryTags|Software projects|sw|{{{tags|}}}}} <!--
      | template
--> {{ProjectCategoryTags|Hardware projects|hw|{{{tags|}}}}} <!--
      |<!--nothing-->|
--> {{ProjectCategoryTags|Projects looking for participants|coops|{{{tags|}}}}} <!--
      [[Category:Projects]] <!--
--> {{ProjectCategoryTags|Infrastructure projects|infrastructure|{{{tags|}}}}} <!--
-->   {{ProjectCategoryTags|Software projects|sw|{{{tags|}}}}} <!--
--> {{#set:Description={{{shortdesc|Description missing}}}}} <!--
-->   {{ProjectCategoryTags|Hardware projects|hw|{{{tags|}}}}} <!--
--> {{#set:Status={{{status|Status missing}}}}} <!--
-->   {{ProjectCategoryTags|Projects looking for participants|coops|{{{tags|}}}}} <!--
--> {{#set:Tags={{{tags|}}}}} <!--
-->   {{ProjectCategoryTags|Infrastructure projects|infrastructure|{{{tags|}}}}} <!--
--> {{#set:Contributors={{{founder}}}<!--
-->   {{#ifeq:{{{stale|false}}}|true|[[Category:Stale projects]]||}} <!--
                    -->{{#if:{{{founder|}}}|{{#if:{{{coops|}}}|, |}}|}}<!--
--> }} <!-- end of #ifeq status=template
                    -->{{#replace:{{#replace:{{{coops|}}}|#|,}}|,|X}}<!--
-->}} <!--
--> {{#set:Stale={{{stale|false}}}}} <!--
--> {{#set:Image={{{image|}}}}} <!--
--> </includeonly>
--> </includeonly>

Latest revision as of 17:11, 15 February 2024