KerboScriptBrowseKerboScriptList of all CommandsTutorialsTutorials and Example ScriptsTutorial - Pre 0.61 version: Finding surface-relative data (prograde/retrograde directions).Tutorial - KOS 0.65 and above: Finding surface dynamic informationSteering AnglesArchive and VolumesInstallation and UsageRemote UpdatesExamplesTutorials and Example ScriptsExample - Descend Lander/SkycraneExample - Launch Sequence Utilizing LoopsExample - More Complex Launch SequenceExample - Simple AutolaunchXYZ system of KSPTutorial with example - Conversion from Directions to XYZsTutorials and Example ScriptsExample - Simple AutolaunchList of all CommandsExample - More Complex Launch SequenceMission toolkit v3XYZ system of KSPExample - Descend Lander/SkycraneLately UpdatedKOS WikiInstallation and UsageKerboScriptTutorials and Example ScriptsArchive and VolumesExample - Simple AutolaunchSteering AnglesChangesVideosKOS Mod Introduction and DemoKerbal Space Program w KOS mod Descend with skycrane.Unite 2013 - Building a new universe in Kerbal Space ProgramKOS 0.65 Assistive PersistenceKOS 0.6 Odds & TrendsKOS 0.5 The Rover UpdateKOS 0.4 Update Lots of New ToysImagesForum new.gifExample.jpgFavicon.icoWiki-backgroundXuy3small.jpgXuy3.jpgWiki-wordmark.pngTutorialsTutorials and Example ScriptsTutorial - Pre 0.61 version: Finding surface-relative data (prograde/retrograde directions).Tutorial - KOS 0.65 and above: Finding surface dynamic informationSteering AnglesArchive and VolumesInstallation and UsageRemote UpdatesVideosKOS Mod Introduction and DemoKerbal Space Program w KOS mod Descend with skycrane.Unite 2013 - Building a new universe in Kerbal Space ProgramKOS 0.65 Assistive PersistenceKOS 0.6 Odds & TrendsKOS 0.5 The Rover UpdateKOS 0.4 Update Lots of New ToysTutorials and Example ScriptsExample - Simple AutolaunchList of all CommandsExample - More Complex Launch SequenceMission toolkit v3XYZ system of KSPExample - Descend Lander/SkycraneMoneyCZAchievements LeaderboardManual of ''List of all Commands''Wiki ForumWiki PolicysContactContactContacting WikiaStaffFounderAdminsBureaucratsWikia HelpersRollbackersWikia StaffUsersall UsersBlocked User
KOS Wiki
6 Posts
Avatar
Avatar
All Contributors
Avatar

[how to] add downloadable Kerboscripts to articles

I found a way to make Kerboscripts downloadable.

  • Just add {{dl|scriptname.txt}} anywhere in you article.
    This is an template named dl, that means you can either write dl or Dl but not DL.
    • Then add the script on the wiki page to wikipage/scriptname.txt in source mode.
    • Just the script. Do not add wiki script or anything else.
    • Please also do not add any Category to a downloadable text file, it might break it.
    As long as you haven't added a script there the link you have created will bring you to the edit page.
    If you looking for your scripts to edit them later you might find the link here: Special:AllPages
    • This also works with all kinds of other text-files like
      1. crafts or
      2. cfg files (e.g. Module Manager).
      3. csv files and alike are also thinkable

Please add to each text file you create the template {{dnv}} as first comment.

It will create a explaining popup.
I also made the template {{rf|<text_file>}} which will include the text file into an article.

Please have a look at Template:dl and Template:rf to see how to use them.

0 6
  • Upvote
  • Reply
Avatar

Correction to the iinstructions above.  It turns out the "DL" in the example MUST be in lowercase for it to work, but your example shows it in uppercase.

It took me a while to figure out that was what I was doing wrong.

0

Ah sorry, my fault, it can be either Dl or dl, but not DL

Edit: Updated the description, to make it less confusing. Also corrected an error in the rf template which leads to a wrong destination if the textfile not exists.

This is better.  Also, the edits you made to the page I uploaded are fine.  I just looked them over.

0

Well you can(/I could) imagine how structure improves the readability .

This information needs to be in the main wiki itself so people can find it easier, rather than just in the discussions page..


Most wikis have a section that's meta-information about the wiki itself.  It should go there.

0

But where to put?

Sorry I was a little time so busy I couldn't do anything on the computer.

Write a reply...