Template:Prompt

Prompt
InfoField
"Example"
Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Prompt/doc.

This template records the text prompt used to generate an AI image. It autocategorizes images into categories like Category:AI-generated images including prompts.

Usage

The template should be placed in |Other fields 1=, immediately below the description field of an image. For example, see this code:

{{Information
|description={{en|1=An image generated by DALL-E 3 of Wikimedians taking over the world.}}
|Other fields 1={{prompt|A group of Wikimedia editors rushes through a digital space, claiming it as their own and waving flags with the Wikipedia globe logo, digital art.}}
|date={{#time:j F Y}}
|source={{own}}
|author=DALL-E 3
}}
It produces this:
Category:AI-generated images including prompts
Description
English: An image generated by DALL-E 3 of Wikimedians taking over the world.
Prompt
InfoField
"A group of Wikimedia editors rushes through a digital space, claiming it as their own and waving flags with the Wikipedia globe logo, digital art."
Date 8 May 2026
Source Own work
Author DALL-E 3

TemplateData

Records the text prompt used to generate an AI image.

Template parameters

ParameterDescriptionTypeStatus
Prompt1

The prompt used to create the image, without enclosing quotation marks.

Stringrequired
Categorycat

Custom category to add image to, without prefix, overriding the default. Set to "no" to suppress categorization.

Default
AI-generated images including prompts
Page namesuggested
Category:AI-generated images including prompts