FANDOM

A FANDOM user
  Loading editor
  • If you're going to rename any of the knights, I would appreciate it if you would update this page as well, cuz I almost created a separate page there.

    Also, how did you manage to fill in that template with everything on a single line anyway? Did you use a script or something?

      Loading editor
    • View all 7 replies
    • Visualeditor

      After trying to trace and replicate your methods, it turns out that you had (unknowingly) used the VisualEditor to automatically generate the template pages with the data you've inputted, with single-line codes as the end result.

      I personally used the Source Editor mode for my wiki editing, that's how I found out the templates were in single line. Anyway, I have just the script to resolve this:

      #!/usr/bin/python3
      # coding: utf-8
      import os, sys, urllib.request
      
      #Request input the specific flower knight
      x = input("Select character to load:")
      #Open and download the wikipage source
      linkin = "http://flowerknight.wikia.com/wiki/"+x+"?action=raw"
      f = urllib.request.urlopen(linkin)
      filedata = f.read().decode("utf-8")
      f.close()
      
      #Replace the text with a series of text replacement.
      newdata = filedata.replace("|","\n|").replace("\n|thumb\n|","|thumb|").replace("\n|center]]","|center]]").replace("}}","\n}}<del>").partition("<del>")[0]
      
      #Open and write to the target file.
      fileout = x + "-template.txt"
      f = open(fileout,'w',encoding='UTF8')
      f.write(newdata)
      f.close()
      

      Its a bit tedious to switch between VisualEditor and source editor though (since you have to input the code in the latter), so might as well just edit your preferred editor in the editing tab.

        Loading editor
    • This reply has been removed
    • A FANDOM user
        Loading editor
  • Next time, please add the Japanese text to the english one. NOT everyone can identify it lel

      Loading editor
    • A FANDOM user
        Loading editor
  • Yil

    Hiya, just wanted to say thank you for the constructive edits, and for being understanding about the Nutaku nameing issue.

      Loading editor
    • A FANDOM user
        Loading editor
  • Please Stop with the Nutaku Edits.

    you have damaged the wikia too extensively.

      Loading editor
    • A FANDOM user
        Loading editor
  • Hello, it seems your doing the renaming in the character list. I don't want to be rude, but this is a guide for the DMM version and we don't follow the Nutaku's.

      Loading editor
    • A FANDOM user
        Loading editor
  • Hi, I'm an admin for the Flower Knight Girl Wikia community. Welcome and thank you for your edit to Oncidium!

    If you need help getting started, check out our help pages or contact me or another admin here. For general help, you could also stop by Community Central to explore the forums and blogs.


    Enjoy your time at Flower Knight Girl Wikia!

      Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.