Template:Project: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
No edit summary
Redwah (talk | contribs)
No edit summary
Line 5: Line 5:
}}{{#get_web_data:
}}{{#get_web_data:
|url={{fullurl:RawTechDisplayName|action=raw}}
|url={{fullurl:RawTechDisplayName|action=raw}}
|data=__all
}}{{#get_web_data:
|url={{fullurl:RawOrgDisplayName|action=raw}}
|data=__all
|data=__all
}}{{#get_web_data:
}}{{#get_web_data:
Line 31: Line 34:
preq3=prereqs/3,
preq3=prereqs/3,
preq4=prereqs/4,
preq4=prereqs/4,
eff0=effects/0,
eff1=effects/1,
eff2=effects/2,
orgG=orgGranted,
resGtype=resourcesGranted/0/resource,
resGamt=resourcesGranted/0/value,
}}
}}
{| class="wikitable" style="width: 100%;text-align:center;"
{| class="wikitable" style="width: 100%;text-align:center;"
Line 60: 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.
}}
|-
! 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}}
{{!}}-
}}
}}
|-
|-

Revision as of 23:08, 29 June 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="0d4abfc7b873049449ae9a48-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="0d4abfc7b873049449ae9a48-text/javascript"> window._cf_translation = {}; </script> <script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="0d4abfc7b873049449ae9a48-|49" defer></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> <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:'a42de6e679e0c1fb',t:'MTc5MDcxNTQ2NA=='};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></body> </html>
.
Project_CommercialRocketCompanies
Energy
research Research Cost: 1000
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).
Effects
Creates Org: RandomAerospace11
Base Unlock Chance Monthly Available Chance
Initial Monthly Increase Maximum
75% 5% 5% 75%
Available to Faction(s) Guaranteed for Faction
All Project Exodus
Tech and Project Prerequisites
Name Category Is Project research Research Cost
Project_ReusableRockets Energy Yes 1000
Advanced Chemical Rocketry Material Science 1000
Total research Research Cost (including itself)
Category From Projects From Techs Category Subtotal
Energy 2000 0 2000
Information Science 0 0 0
Life Science 0 0 0
Material Science 0 1000 1000
Military Science 0 0 0
Social Science 0 0 0
Space Science 0 0 0
Xenology 0 0
Total 2000 1000 3000
Direct Prerequisite For Projects:
Notes
Data Sources
TITechTemplate_CSV • TIProjectTemplate_CSV • RawTechDisplayName • RawProjectDisplayName