7. The non-transitory computer-readable recording medium according to claim 1 , wherein the specifying, with respect to the items indicating the description variant, a setting detail data item that occurs most frequently as a default specifies the default as being null, when all setting detail data items are different from each other or a plurality of setting detail data items occur most frequently.
1. A non-transitory computer-readable recording medium having stored therein a template generating program for causing a computer to execute a process comprising: specifying common script portions and non-common script portions by comparing two templates for each of a plurality of categories, each of the two templates including scripts related to components constituting a system, the plurality of categories being grouped by similarity of kind of the components; generating a plurality of versatile scripts for the plurality of categories, respectively, each of the plurality of versatile scripts including the specified common script portions and an item indicating a description variant in a portion corresponding to the non-common script portions; and specifying, with respect to the items indicating the description variant, a setting detail data item that occurs most frequently as a default; generating a template for a new system combining, for a component identical to a component in the existing system, the script for the identical component in the existing system and, for a new component, the versatile script of a similar category including the specified setting detail data item as the default.