Difference between revisions of "User:Drebin 679/ShipArticle"

From EVE University Wiki
Jump to: navigation, search
(FC how do I make templates in userspace? Created to test autogenerated links to zKill and Eve Workbench for various ships, and with forum links removed.)
 
(Added back forum posts section, but only if {{{forumlinks}}} is populated. Added EDENCOM image.)
Line 176: Line 176:
 
<table class='ecm-info' cellspacing='0' cellpadding='0'>
 
<table class='ecm-info' cellspacing='0' cellpadding='0'>
 
<tr>
 
<tr>
<td rowspan='3' class='faction-img'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Society of Conscious Thought=Logo_faction_the_society.png|Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Angel Cartel=Logo_faction_angel_cartel.png|Sisters of EVE=Logo_faction_sisters_of_eve.png |Serpentis=Logo_faction_serpentis.png|Guristas=Logo_faction_guristas_pirates.png|Blood Raiders=Logo_faction_the_blood_raider_covenant.png|Sansha's Nation=Logo_faction_sanshas_nation.png|Mordu's Legion=Logo_faction_mordus_legion.png|CONCORD=Logo_faction_concord_assembly.png|Intaki Syndicate=Logo faction the syndicate.png|Triglavian Collective=Logo faction triglavian collective.png|#default=no-image.png}}|center|link=|50x50px|{{#if:{{{faction}}}|{{{faction|Unknown}}}|Unknown}}]]</td>
+
<td rowspan='3' class='faction-img'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Society of Conscious Thought=Logo_faction_the_society.png|Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Angel Cartel=Logo_faction_angel_cartel.png|Sisters of EVE=Logo_faction_sisters_of_eve.png |Serpentis=Logo_faction_serpentis.png|Guristas=Logo_faction_guristas_pirates.png|Blood Raiders=Logo_faction_the_blood_raider_covenant.png|Sansha's Nation=Logo_faction_sanshas_nation.png|Mordu's Legion=Logo_faction_mordus_legion.png|CONCORD=Logo_faction_concord_assembly.png|Intaki Syndicate=Logo faction the syndicate.png|Triglavian Collective=Logo faction triglavian collective.png|EDENCOM=Logo_faction_edencom.png|#default=no-image.png}}|center|link=|50x50px|{{#if:{{{faction}}}|{{{faction|Unknown}}}|Unknown}}]]</td>
 
<td class='faction'>{{{faction|Unknown}}}</td>
 
<td class='faction'>{{{faction|Unknown}}}</td>
 
<td rowspan='3' style='width: 70px;'>
 
<td rowspan='3' style='width: 70px;'>
Line 229: Line 229:
 
</div>
 
</div>
 
</div>
 
</div>
 +
{{#if:{{{forumlinks}}}|<div class='box-line box-discussion'>
 +
<div class='discussion-bgr'>FORUM DISCUSSION</div>
 +
{{#if:{{{forumlinks}}}|{{{forumlinks|[https://forum.eveuniversity.org/viewforum.php?f=128 new discussion thread]}}}|[https://forum.eveuniversity.org/viewforum.php?f=128 new discussion thread]}}</div>
 +
</div>|}}
 
<div class='box-line box-discussion'>
 
<div class='box-line box-discussion'>
 
<div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
 
<div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
<div class='linkname'>{{{wikireferences|}}}[[Ships|EVE Online Ships Overview]]</div>
+
<div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
 
</div>
 
</div>
 
<div class='box-line box-discussion'>
 
<div class='box-line box-discussion'>
 
<div class='discussion-bgr'>EXTERNAL LINKS</div>
 
<div class='discussion-bgr'>EXTERNAL LINKS</div>
<div class='linkname'>{{{externallinks|}}}{{#if:{{{shipid}}}| [https://zkillboard.com/ship/{{{shipid}}} {{{shipname|unknown}}} on zKillboard]<br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]|}}</div>
+
<div class='linkname'>{{#if:{{{shipid}}}| [https://zkillboard.com/ship/{{{shipid}}} {{{shipname|unknown}}} on zKillboard]<br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]|}}<br>{{{externallinks|}}}</div>
 
</div>
 
</div>
 
</td>
 
</td>

Revision as of 00:56, 6 June 2020


Template documentation (for the above template, sometimes hidden or invisible)
This template currently doesn't have any documentation! Help out by writing some.
Visit User:Drebin 679/ShipArticle/doc to edit this text! (How does this work?) (Refresh this text - why?)