Template:Project: Difference between revisions
No edit summary |
No edit summary |
||
| Line 69: | Line 69: | ||
| {{#external_value: onetime}} = ! <big>Global Project</big> | | {{#external_value: onetime}} = ! <big>Global Project</big> | ||
{{!}} style="text-align:left;" colspan=3 {{!}} Can be researched by only one faction. As soon as a faction researches this project, it is removed from all factions. Global projects usually give a global bonus (such as nation claims) that all factions can potentially benefit from, but may also have smaller bonuses that are only given to the faction that researches the project. | {{!}} style="text-align:left;" colspan=3 {{!}} Can be researched by only one faction. As soon as a faction researches this project, it is removed from all factions. Global projects usually give a global bonus (such as nation claims) that all factions can potentially benefit from, but may also have smaller bonuses that are only given to the faction that researches the project. | ||
}} | }} | ||
|- | |- | ||
| Line 1,073: | Line 1,043: | ||
|format=CSV with Header | |format=CSV with Header | ||
}}{{#for_external_table:| {{#iferror: ({{{pchance}}}%) [[{{{postreq}}}|{{#external_value:{{{postreq}}} }}]] • }} }}{{#clear_external_data:postreq|pchance}} | }}{{#for_external_table:| {{#iferror: ({{{pchance}}}%) [[{{{postreq}}}|{{#external_value:{{{postreq}}} }}]] • }} }}{{#clear_external_data:postreq|pchance}} | ||
|- | |||
! colspan=4| Effects | |||
|- | |||
{{#if: {{#external_value: eff0}} | | |||
{{!}}- | |||
{{!}} colspan=4 {{!}} {{#external_value: eff0}} | |||
{{!}}- | |||
}} | |||
{{#if: {{#external_value: eff1}} | | |||
{{!}}- | |||
{{!}} colspan=4 {{!}} {{#external_value: eff1}} | |||
{{!}}- | |||
}} | |||
{{#if: {{#external_value: eff2}} | | |||
{{!}}- | |||
{{!}} colspan=4 {{!}} {{#external_value: eff2}} | |||
{{!}}- | |||
}} | |||
{{#if: {{#external_value: orgG}} | | |||
{{!}}- | |||
{{!}} Creates Org: | |||
{{!}} colspan=3 {{!}} [[{{#external_value: orgG}}|{{#external_value:{{#external_value: orgG}}|{{#external_value: orgG}} }}]] | |||
{{!}}- | |||
}} | |||
{{#if: {{#external_value: resGtype}} | | |||
{{!}}- | |||
{{!}} Gives Resource: | |||
{{!}} colspan=3 {{!}} {{#external_value: resGamt}} {{#external_value: resGtype}} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIGunTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Naval Gun(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TILaserWeaponTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Laser Weapon(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMagneticGunTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Magnetic Gun(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissileTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Missile(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIParticleWeaponTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Particle Weapon(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIPlasmaWeaponTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Plasma Weapon(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBatteryTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Batteries: | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIHeatSinkTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Heat Sink(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIDriveTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Drive(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIPowerPlantTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Power Plant(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIRadiatorTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Radiator(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIShipArmorTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Ship Armor(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIShipHullTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Ship Hull(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIHabModuleTemplate_CSV?requiredProjectName={{{1}}} | |||
|data=uPart=friendlyName | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uPart}} | | | |||
{{!}}- | |||
{{!}} Unlocks Hab Module(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{{uPart}}} • }} | |||
{{!}}- | |||
}} {{#clear_external_data:}} {{#get_web_data: | |||
|url={{fullurl:RawRegionDisplayName|action=raw}} | |||
|data=__all | |||
}}{{#get_web_data: | |||
|url={{fullurl:RawNationDisplayName|action=raw}} | |||
|data=__all | |||
}}{{#get_web_data: | |||
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?projectUnlockName={{{1}}}&relationType=Claim | |||
|data= | |||
uNat=nation1, | |||
uReg=region1, | |||
|format=CSV with Header | |||
}} {{#iferror: {{#external_value: uNat}} | | | |||
{{!}}- | |||
{{!}} Unlocks Claim(s): | |||
{{!}} colspan=3 {{!}} {{#for_external_table:| {{#ifeq: {{padleft:|4|{{{uReg}}} }} | 2070 | | {{#external_value:{{{uNat}}}|{{{uNat}}} }} claims {{#external_value:{{{uReg}}}|{{{uReg}}} }} • }} }} | |||
{{!}}- | |||
}} | |||
|- | |- | ||
! colspan=4 | Notes | ! colspan=4 | Notes | ||
| Line 1,080: | Line 1,223: | ||
! colspan=4 | Data Sources | ! colspan=4 | Data Sources | ||
|- | |- | ||
| colspan=4 | [[TITechTemplate_CSV]] • [[TIProjectTemplate_CSV]] • [[RawTechDisplayName]] • [[RawProjectDisplayName]] • [[RawOrgDisplayName]] | | colspan=4 | [[TITechTemplate_CSV]] • [[TIProjectTemplate_CSV]] • [[RawTechDisplayName]] • [[RawProjectDisplayName]] • [[RawOrgDisplayName]] • [[TIGunTemplate_CSV]] • [[TILaserWeaponTemplate_CSV]] • [[TIMagneticGunTemplate_CSV]] • [[TIMissileTemplate_CSV]] • [[TIParticleWeaponTemplate_CSV]] • [[TIPlasmaWeaponTemplate_CSV]] • [[TIBatteryTemplate_CSV]] • [[TIHeatSinkTemplate_CSV]] • [[TIDriveTemplate_CSV]] • [[TIPowerPlantTemplate_CSV]] • [[TIRadiatorTemplate_CSV]] • [[TIShipArmorTemplate_CSV]] • [[TIShipHullTemplate_CSV]] • [[TIHabModuleTemplate_CSV]] • [[TIBilateralTemplate_CSV]] • [[RawRegionDisplayName]] • [[RawNationDisplayName]] | ||
|} | |} | ||
Revision as of 02:43, 1 July 2025
A template for projects.
Usage
To get the Project_CommercialRocketCompanies project for example:
{{project|Project_CommercialRocketCompanies|notes=}}
Named parameters are optional.
Note: You have to use the project's Data Name, not its Display Name.
Note: For some reason, attempting to display the project on this template page causes strange issues with the prereqs not showing up or being added up correctly. But the template seems to work fine on the real project pages...
Example
Error while fetching data from URL https://wiki.hoodedhorse.com/Terra_Invicta/index.php?title=RawProjectDisplayName&action=raw: $2.There was a problem during the HTTP request: 403 Forbidden
Error while fetching data from URL https://wiki.hoodedhorse.com/Terra_Invicta/index.php?title=RawProjectDisplayName&action=raw:
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<style>body{margin:0;padding:0}</style>
<script type="4bf48075679d411ff2406d42-text/javascript">
if (!navigator.cookieEnabled) {
window.addEventListener('DOMContentLoaded', function () {
var cookieEl = document.getElementById('cookie-alert');
cookieEl.style.display = 'block';
})
}
</script>
</head>
<body>
Sorry, you have been blocked
You are unable to access hoodedhorse.com
Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
<script type="4bf48075679d411ff2406d42-text/javascript">
window._cf_translation = {};
</script>
<script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="4bf48075679d411ff2406d42-|49" defer></script><script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a42de7035c0f4b79',t:'MTc5MDcxNTQ2OQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"51862476f1994747843f52d73cd5e123","spa":2}' crossorigin="anonymous"></script>
</body>
</html>.
| Project_CommercialRocketCompanies | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Summary | |||||||||||||||
| We fund private industry to move our assets into orbit and beyond. | |||||||||||||||
| Description | |||||||||||||||
| Repeatable Project | Can be researched an unlimited number of times, but research cost is multiplied by (1 + number of times researched). | ||||||||||||||
| Base Unlock Chance | Monthly Available Chance | ||||||||||||||
| Initial | Monthly Increase | Maximum | |||||||||||||
| 75% | 5% | 5% | 75% | ||||||||||||
| Available to Faction(s) | Guaranteed for Faction | ||||||||||||||
| All | |||||||||||||||
| Tech and Project Prerequisites | |||||||||||||||
| |||||||||||||||
| Total | |||||||||||||||
| Category | From Projects | From Techs | Category Subtotal | ||||||||||||
| 2000 | 0 | 2000 | |||||||||||||
| 0 | 0 | 0 | |||||||||||||
| 0 | 0 | 0 | |||||||||||||
| 0 | 1000 | 1000 | |||||||||||||
| 0 | 0 | 0 | |||||||||||||
| 0 | 0 | 0 | |||||||||||||
| 0 | 0 | 0 | |||||||||||||
| 0 | 0 | ||||||||||||||
| Total | 2000 | 1000 | 3000 | ||||||||||||
| Direct Prerequisite For Projects: | |||||||||||||||
| Effects | |||||||||||||||
| Creates Org: | RandomAerospace11 | ||||||||||||||
| Notes | |||||||||||||||
| Data Sources | |||||||||||||||
| TITechTemplate_CSV • TIProjectTemplate_CSV • RawTechDisplayName • RawProjectDisplayName • RawOrgDisplayName • TIGunTemplate_CSV • TILaserWeaponTemplate_CSV • TIMagneticGunTemplate_CSV • TIMissileTemplate_CSV • TIParticleWeaponTemplate_CSV • TIPlasmaWeaponTemplate_CSV • TIBatteryTemplate_CSV • TIHeatSinkTemplate_CSV • TIDriveTemplate_CSV • TIPowerPlantTemplate_CSV • TIRadiatorTemplate_CSV • TIShipArmorTemplate_CSV • TIShipHullTemplate_CSV • TIHabModuleTemplate_CSV • TIBilateralTemplate_CSV • RawRegionDisplayName • RawNationDisplayName | |||||||||||||||


